0

I want to create a small website in HTML / Javascript in our company and I'm trying to upload data to an Access database on the company network, but since I don't have administrator rights, I cannot use PHP, ASP or JSP to make the database connection work at server side. I also don't have WAMP running or anything, I merely write an HTML file with some CSS and Javascript, and use the directory structure to display my webpage. I don't have permission rights to install programs (roll out exe files) due to the company policy :-(. I'm dieing to use a database though (what can I do without??) and I feel very much blocked right now. I had a great idea in mind for our desk and I tried to avoid the general IT policy, because a development request takes too much time and it may not be delivered exactly the way I want it.

Does anyone have some solutions for me (in whatever language or database)?? This may be totally impossible, I don't know! I was hoping some genius could provide me a workaround! (Or hack the system? ;-) kidding)

Thanks!!

asked Jan 11, 2012 at 11:18

5 Answers 5

1

You must use some sort of server side programming in order to update a database that lives on the server.

Javascript runs on the client (browser) and can't do this. Even in the client it will have limitations on what it can do:

  • No connections to a local database (local storage not withstanding)
  • No way to use the filesystem
  • No control over other applications

No way around it.

answered Jan 11, 2012 at 11:22
Sign up to request clarification or add additional context in comments.

Comments

1

Javascript is quite useless in your case.

answered Jan 11, 2012 at 11:22

Comments

1

without using serverside language, you cannot access Database using HTML or Javascript. if you want to access database, you have to use some serverside language. or else you can use json file or csv or any xml file format to store data and access it via JavaScript.

answered Jan 11, 2012 at 11:23

Comments

0

Maybe you could write to a txt file.

Javascript is in basic a client side language. So i think it's impossible to create a database connection.

answered Jan 11, 2012 at 11:23

1 Comment

Maybe you can make some sort of changelog. It is possible to read a text file. So the javascript can be used to read all recently made changes and anticipate on that.
0

Didn't you people hear of nodeJS?... You can freely use JavaScript for database connection using node.

answered Feb 26, 2012 at 7:25

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.