can i protect a folder

javascript United States
  • 19 years ago

    how can i protect a folder by using java script.......??


    i don't want to use any database for passward checking.............


    is there any encrypeted method for it......?



    >>>> if i use server side java script then what will be ur answer...........???



    mail me ur help at : disco_32@rediffmail.com

  • 19 years ago

    A folder is on the server's HD, whilst javascript is in the client's browser. You could not prevent access using Javascript because:
    1) javascript can be disabled
    2) javascript does not have control over accessing the server's filesystem

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Anyone who considers arithmetic methods of producing random digits is, of course, in a state of sin.” - John von Neumann