Re: Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14856
interpreted = N
texte = >We're setting up the public webserver and want to make sure we optimize>WebStar and WebCatalog security features and folder hierarchies.>>Are their any security gotcha's that we need to look out for (like being>able to type www.mydomain.com/webstar.log and displaying a list of all>hits on the site ...NO, WebSTAR's log is already protected by creator WWW‡ security.>... or competitors typing in www.mydomain.com/items.db and>getting a dump of our hard-earned database)?Yes, change the creator of your db files to WWW‡. WebCat does thisautomatically, but not until it sees a [closedatabase] command in atemplate, so you're better off doing it manually from the beginning... just in case you don't use [closedatabase] in your templates.>Also, for neatnicks who like to organize everything into folders, what>WebCatalog files have to be together?DONT MOVE STUFF!As soon as you start moving the files that come with the WebCatdistribution into different places, you're bound to create problemsfor yourself. In other words, forget about being a neatnik, and leavethings where they are, and you'll be a LOT happier in the long run... :)As far as the locations of any new files you create, that will dependupon how and from where you're calling them. The best technique is tokeep each project in its own folder, always use relative URLs, thenyou can move the whole folder to another location inside the WebSTARhierarchy and everything will still work fine ... provided you'reusing security instead of WebCatalog hierarchysecurity.>Do databases have to be in the>same folder as Webstar or WebCatalog or the templates that use them>(I've never seen a relative path to a database in examples)?No, databases don't have to be located anywhere special, you callthem the same way you call templates. All my paths are relative, soif the examples are absolute instead of relative, that's just acoincidence. You should always use relative URLs whenever possible.Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
|
- Re: Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com (Kenneth Grome 1997)
|
>We're setting up the public webserver and want to make sure we optimize>WebStar and WebCatalog security features and folder hierarchies.>>Are their any security gotcha's that we need to look out for (like being>able to type www.mydomain.com/webstar.log and displaying a list of all>hits on the site ...NO, WebSTAR's log is already protected by creator WWW‡ security.>... or competitors typing in www.mydomain.com/items.db and>getting a dump of our hard-earned database)?Yes, change the creator of your db files to WWW‡. WebCat does thisautomatically, but not until it sees a
[closedatabase] command in atemplate, so you're better off doing it manually from the beginning... just in case you don't use
[closedatabase] in your templates.>Also, for neatnicks who like to organize everything into folders, what>WebCatalog files have to be together?DONT MOVE STUFF!As soon as you start moving the files that come with the WebCatdistribution into different places, you're bound to create problemsfor yourself. In other words, forget about being a neatnik, and leavethings where they are, and you'll be a LOT happier in the long run... :)As far as the locations of any new files you create, that will dependupon how and from where you're calling them. The best technique is tokeep each project in its own folder, always use relative URLs, thenyou can move the whole folder to another location inside the WebSTARhierarchy and everything will still work fine ... provided you'reusing security instead of WebCatalog hierarchysecurity.>Do databases have to be in the>same folder as Webstar or WebCatalog or the templates that use them>(I've never seen a relative path to a database in examples)?No, databases don't have to be located anywhere special, you callthem the same way you call templates. All my paths are relative, soif the examples are absolute instead of relative, that's just acoincidence. You should always use relative URLs whenever possible.Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
trouble updating records in database (1998)
[delete] problem (1997)
Colocator Upgrading OS (2004)
Can WebDNA do this? (2000)
Emailer help....! (1997)
RE: How to verify email address (1997)
searchable list archive (1997)
[OT] (waaaay OT) further off topic than before (2004)
all records returned. (1997)
web delivery (1997)
Active Server Code... (1998)
[shownext] and descending order (1997)
[OT] degree symbol (2003)
notification solutions (1997)
WebDNA Build Area (linux) (2004)
Dividers (2003)
OT - Extract frames from GIF (2004)
WebDNA-Talk Digest mode broken (1997)
ISAPI WC6a and Windows 2003 Web Edition (2006)
[OT] Accepting Credit Cards Online (1999)