Is it safe to allow users full control to a single file

0 views
Skip to first unread message

m.quinn0909

unread,
Jul 3, 2009, 9:14:04 AM7/3/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi,

I have a problem with a live website and would like to find out what
the exception is. I have made a bit of code that will successfully
log this information to a text file but am unsure whether it is safe
to allow full control to this one file. Can people please advise me as
to whether this is safe?

Thanks
Mark

PS. This following stuff is not .Net related but would appreciate
ideas on this also my problem is that the IIS SMTP Virtual Server has
decided to mysteriously stop sending emails and I can't fathom why.
Any help on this would be gratefully received.

m.quinn0909

unread,
Jul 3, 2009, 11:43:47 AM7/3/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
I solved my SMTP problem IIS had dropped the smarthost settings
somehow I saw and corrected this problem early on. It has taken me
the rest of the day to fathom why emails still weren't sending. Then
an email did come through and I realised that the from attribute for
System.Web.Mail.MailMessage needs to have a proper email address. I'm
positive it did not need this before ??? Very strange

Processor Devil

unread,
Jul 3, 2009, 9:35:25 AM7/3/09
to DotNetDe...@googlegroups.com
ok, if someone can easily erase the file, modify it, etc... Is the log file somewhat important? If not, make as owner the same user on which your http server runs and modify permissions so that just the http server (and your code) can modify it

2009/7/3 m.quinn0909 <m.qui...@googlemail.com>

m.quinn0909

unread,
Jul 3, 2009, 12:40:01 PM7/3/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Okay, I will do that, thanks
Reply all
Reply to author
Forward
0 new messages