Setting permissions for files and such

Discussion in 'Control Panel API' started by lvcsslacker, May 29, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hey all. I'm new here, and leaning about the whole webhosting thing step by step.

    I'm wondering if there's a way I can set the permissions for file access and such. I tried though my FTP thing, but it yelled at me that the server didn't know the commands. Would that be because it's using a linux based command (766, etc) instead of the windows based one?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You cannot use FTP to set permission with Windows server.

    Use the control panel's permission manager instead.
     
  3. Thanks for the quick response. I appreciate it. I'm looking more for individual files to set permissions to... Specifically, database type stuff.

    I guess the question then becomes more along the lines of "How do I prevent the downloading of my database?"
     
  4. Put your database in the _database folder. The permissions on the folder are such that it can not be downloaded.
     
  5. Ahh ok. Thanks a ton!


    One last question: would there be a way to do that with other files?

    thanks in advance!
     
  6. Basically, as long as you put your files within the _database folder, they cannot be downloaded. This folder has some very specific permissions and will keep anything in there inaccessible through the web
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page