Click here to Skip to main content
16,014,568 members
Home / Discussions / Web Development
   

Web Development

 
QuestionFile Manager in ASP?? Pin
dannytired26-Jul-02 6:13
sussdannytired26-Jul-02 6:13 
AnswerRe: File Manager in ASP?? Pin
Philip Patrick26-Jul-02 23:34
professionalPhilip Patrick26-Jul-02 23:34 
Generalrot N encryption using Javascript Pin
'Anil' Radhakrishna25-Jul-02 19:48
'Anil' Radhakrishna25-Jul-02 19:48 
GeneralRe: rot N encryption using Javascript Pin
Colin Leitner26-Jul-02 2:43
Colin Leitner26-Jul-02 2:43 
GeneralRe: rot N encryption using Javascript Pin
alex.barylski26-Jul-02 7:41
alex.barylski26-Jul-02 7:41 
GeneralRe: rot N encryption using Javascript Pin
Colin Leitner26-Jul-02 8:14
Colin Leitner26-Jul-02 8:14 
QuestionDatabase security...? Pin
alex.barylski25-Jul-02 17:16
alex.barylski25-Jul-02 17:16 
AnswerRe: Database security...? Pin
Jeremy Falcon26-Jul-02 6:25
professionalJeremy Falcon26-Jul-02 6:25 
Hockey wrote:
If I FTP'ed a file under just home/ would this be considered somewhere other than docroot..??

Yes. On a Unix box running Apache, you may see something like www, public_html, etc. where the actual document root is. It's rarely the same as your home directory for a virtual domain.

Hockey wrote:
if so why is this the safer method...??

Because it's not publicly accessible to everyone - which has to be done in order for web pages to show up in the browser.

If you can admin the system on your own, I would suggest keeping everything related to your webpage in the document root, however, to make it easier to move around. Create a "passwd" subdirectory and chmod that sucker to 750 and put the include file in there and chmod it to 640.

Note that the user Apache/PHP runs as will affect its access. Apache may be ran as the user nobody, or something similar. Which means there's a chance it might not have access to that folder you just created. So, either chgrp the "passwd" directory you created or change the user/group combo that Apache/PHP runs in - if it doesn't match.

If you can't admin the system, then just keep it outside of the document root as a quick fix. This still will stop anyone from the web from seeing it.

Jeremy Falcon
Imputek

<nobr>"..." - Paul Watson  07-17
Questionhow to use Tree view Pin
Mustafai25-Jul-02 11:30
Mustafai25-Jul-02 11:30 
GeneralPublishing ASP.NET from VS.NET Pin
afronaut25-Jul-02 11:00
afronaut25-Jul-02 11:00 
Generaljavascript and forms Pin
Anonymous25-Jul-02 9:41
Anonymous25-Jul-02 9:41 
GeneralRe: javascript and forms Pin
alex.barylski25-Jul-02 17:01
alex.barylski25-Jul-02 17:01 
GeneralRe: javascript and forms Pin
l a u r e n27-Jul-02 1:43
l a u r e n27-Jul-02 1:43 
GeneralDSN Connection Pin
Pradhip25-Jul-02 7:49
Pradhip25-Jul-02 7:49 
GeneralRe: DSN Connection Pin
Philip Patrick26-Jul-02 23:37
professionalPhilip Patrick26-Jul-02 23:37 
QuestionForm processing with HTML embedded langs...??? Pin
alex.barylski24-Jul-02 23:59
alex.barylski24-Jul-02 23:59 
AnswerRe: Form processing with HTML embedded langs...??? Pin
benjymous25-Jul-02 0:52
benjymous25-Jul-02 0:52 
GeneralRe: Form processing with HTML embedded langs...??? Pin
alex.barylski25-Jul-02 16:55
alex.barylski25-Jul-02 16:55 
QuestionASP + ORacle Functions? Pin
Anonymous24-Jul-02 5:28
Anonymous24-Jul-02 5:28 
AnswerRe: ASP + ORacle Functions? Pin
Nick Parker24-Jul-02 16:54
protectorNick Parker24-Jul-02 16:54 
GeneralHTML Forms Pin
jerry0davis24-Jul-02 0:51
jerry0davis24-Jul-02 0:51 
GeneralRe: HTML Forms Pin
Paul Watson24-Jul-02 3:57
sitebuilderPaul Watson24-Jul-02 3:57 
GeneralRe: HTML Forms Pin
jerry0davis24-Jul-02 4:12
jerry0davis24-Jul-02 4:12 
GeneralRe: HTML Forms Pin
jerry0davis24-Jul-02 4:21
jerry0davis24-Jul-02 4:21 
GeneralRe: HTML Forms Pin
Paul Watson24-Jul-02 4:59
sitebuilderPaul Watson24-Jul-02 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.