Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8876917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:20:09+00:00 2026-06-14T19:20:09+00:00

Environment: network, where each client is connected to a server. Internet access is disabled.

  • 0

Environment: network, where each client is connected to a server. Internet access is disabled. The server cannot run server-side scripting languages or similar things, it can only be used to host files. [You know, the school server.]
Context: a chat which just shows a page (chat.html) which people edit in order to write a message. Simplified code:

<meta http-equiv="refresh" content="1">
<iframe src="chat.html">

Problem: editing may overwrite precedent edits.
Additional notices: The clients are (theorically) not allowed to run external programs.

The solution I thought about is the following: making a <form> which, once you send the message, edits chat.html, appends the message and closes the file. The problem is that I don’t know how to open files. Also, I cannot use libraries like jQuery and so on, because the computer is “closed” (cannot access the Internet, nor download files from an USB drive).
What have I tried so far: Googled a while, but no solutions for opening files. Quite the same for SO: JS cannot access local files due to safety issues, but nothing about accessing files on servers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:20:10+00:00Added an answer on June 14, 2026 at 7:20 pm

    You can’t. Client side Javascript cannot edit server files. Or any files for that matter. You will need service side scripting of any kind if you want to store files on the server.

    The addition of libraries like JQuery wouldn’t help either. They are just Javascript ‘helpers’ but cannot do anything that you cannot do using Javascript alone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client server environment and would like to secure the network traffic
Can I create a junit environment without file system and network access? I want
Our network team is thinking of setting up a virtual desktop environment (via Windows
Environment: Rails 3.0.1 Ruby 1.8.7 MySQL 5.5.16 Community server...Jdk 1.6 gem 'sunspot_rails' gem 'sunspot_solr'
Environment: Windows Server 2008 R2 on Amazon EC2 Netbeans IDE with Glassfish started on
We run a nightly process that generates a large number (~8000) of reports each
How can i launch a batch file on Windows 7 in a network environment
Suppose you were writing a network-based WinForms application which is supposed to run in
I have a server application that runs in a hosted environment but creates print
I'm going to be running a node.js server in a Windows environment (via Cygwin)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.