I solved by add request filtering in IIS. http://technet.microsoft.com/en-us/library/hh831621.aspx
On Wednesday, 14 January 2009 13:25:37 UTC+7, Stefan Sedich wrote: > > Hello, > > How do you block the web user being able to browse to this file? Am I > doing something wrong here? I thought I could just block access to > .cfg.xml? How do you go about doing this. It used to be fine having > config in the web.config but since have moved to a seperate > hibernate.cfg.xml file > > Thanks > > -- > Stefan Sedich > Software Developer > http://weblogs.asp.net/stefansedich > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/groups/opt_out.
