I also like to setup restrict data sources. I don't like having the user name & 
password on the server. I hope the system I have shown is acceptable. 
Fortunately accessing a cfc directly through a browser throws a 403 error in 
IIS, and ftp requires authenication.

Matt, I see by your title you are a business owner too, the "Janitor" is a dead 
give away.

>I think the idea behind doing this sort of thing (requiring U & P in
>the code) is its easier to hack the CF stuff -- which often resides in
>a known location, for example -- than it is to get at the templates
>themselves.  And if they get at the templates you're through anyway.
>
>One thing I make a point of doing wherever I have the control to do it
>is set up a datasource that is restricted to the bone.  SQL Server
>only allows it to get to certain tables.  CF has all unnecessary
>operations disabled (stuff like ALTER, DROP, GRANT).  I only enable
>CREATE or DROP when I am doing that operation and then I disable it
>again.
>
>--
>--mattRobertson--
>Janitor, MSB Web Systems
>mysecretbase.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227195
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to