Search

You searched for the word(s): userid:652816

Matching Posts

  • Re: Access to Fat filesystem share denied.

    Ideally you want to determine whether the request is being made to the Win95 machine or if security is failing before the call. This can help you determine where the operation is failing. If you can't enable logging on Win95 then see if you can download some kind of utility to monitor the network traffic on the 95 box (some kind of packet sniffer perhaps?). If the call is reaching the win 95 box then you should try determine which credentials are being passed and check the permissions against
    Posted to Security (Forum) by O11Y on 6/24/2009
  • Re: Access to Fat filesystem share denied.

    Hi, Not as such. I just mean that you should be aware that a section of code is running as the worker process account (which commonly has greater permissions on the server / domain) and code accordingly. For example, when dealing with files you might have a method like: private void DeleteProfileImage(string filename) { ImpersonateAppPool(); File.Delete(filename); RevertToUser(); } I've simplified it but you get the idea. In this scenario if a malicious user was able to set the value of "filename"
    Posted to Security (Forum) by O11Y on 6/23/2009
  • Re: Access to Fat filesystem share denied.

    You can enable "Failure Logging" in the security audit. This can sometimes tell you where things are going wrong: Settings > Control Panel > Administrative Tools > Local Security Policy > Local Policy > Audit Policy > Make sure all of them have Failure selected (in addition to any others you want to audit). This will log local security failures in the event log. Note that this is an NT thing and I have no idea how you could get this kind of info in Win95. I'm not sure
    Posted to Security (Forum) by O11Y on 6/23/2009
  • Re: Access to Fat filesystem share denied.

    Hello Again, This is the code we somtimes use to perform similar tasks (below). It allows you to use impersonation in your web application and but switch to the worker process account for sensitive operations. Obviously it should be used sparingly and you should ensure that you code some permission checking into you application so that a malicious user cannot hijack the account for their own purposes. Cheers, // A Class that is used to Impersonate the Application Pool on the IIS Server. /// This
    Posted to Security (Forum) by O11Y on 6/19/2009
  • Re: Regex replace replaces multiple occurances inside the text

    I'm not sure 100% sure I'm with you, but do you mean that you want href="" with matching urls to have the same CT number? If so then you might want to do a 2-pass strategy so: string file = GetSourceHTML(); string matchString = "href=\http://[^\\x23\\d].*\"" Match[] matches = Regex.Match(file , matchString); Dictionary<string,int> uniqueUrls = new Dictionary<string,int>(); int indexer = 0; //generate unique ids foreach (Match match in matches) { //remove
    Posted to Getting Started (Forum) by O11Y on 6/18/2009
  • Re: CSS working for localhost but only partially on server!

    Hi, By default float will stack elements horizontally until it runs out of space, and then elements will be pushed down to the next line. Try using breaks "<br />" so: < div class= "prompt" >Name:</ div > < div class= "detail" >< %=Html.Encode(Model.Person.Name.FirstName + " " + Model.Person.Name.MiddleName + " " + Model.Person.Name.LastName)%></ div > <br /> < div class= "prompt" >Preferred
    Posted to Client Side Web Development (Forum) by O11Y on 6/18/2009
  • Re: Access to Fat filesystem share denied.

    Hi, This sounds like "double-hop". I pressume you're using impersonation on your web application? What happens is that the web server digests you NT credentials using the integrated authentication but Windows will only allow it to use these credentials locally, it can't use them to "hop" onto another server. You have some options: -Get your application to impersonate the application pool on the web server. This will discard the user credentials and attempt to access the
    Posted to Security (Forum) by O11Y on 6/18/2009
  • Re: Representing an ordered list in XML

    Hi Steve, Great article, thanks very much. I think you guys have provided enough food for thought so I'll go away and take another look at it. Cheers,
    Posted to Architecture (Forum) by O11Y on 5/15/2009
  • Re: Representing an ordered list in XML

    Thanks both, I've downloaded the library and have read the start of the documentation. There's a lot in there! Too much I think to shoe-horn into this project at such a late stage, but thanks for link, I'll keep reading and see if I can get my head around it. I considered using an ID of some sort like this. The problem I had was what if I wanted to insert a new page? I'd have to update all the numbering, and then re-test it all to make sure I'd not broken it in the process. Plus
    Posted to Architecture (Forum) by O11Y on 5/14/2009
  • Representing an ordered list in XML

    Hi All, I've got a website which contains a simple Workflow system (too simple to warrant using the Workflow Foundation). There are a number of forms which the user can cycle through using "Next" and "Back" buttons so at the moment I use two methods called "MoveBack" and "MoveNext" to control the logic, these look roughly like: MoveNext { if (Page is Pages.Form1) MoveToPage(Pages.Form2); if (Page is Pages.Form2) MoveToPage(Pages.Form3); } At first there
    Posted to Architecture (Forum) by O11Y on 5/14/2009
Page 1 of 31 (308 items) 1 2 3 4 5 Next > ... Last »