Search

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

Matching Posts

  • Webservice not working after migrating to .Net 4

    A web service on my site has stopped working after moving to ASP.net 4. The service should accept an xml string as a parameter but im now getting a validation exception: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (xmlData="<quotation> <Req>..."). at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) at System.Web.HttpRequest
    Posted to ASP.NET 4 Beta 2 (Forum) by g-spot-web on 11/9/2009
  • ModalPopupExtender - apply opacity to specific div and not background

    Hi all Is it possible to "grey-out" a specific div as opposed to the whole page when using the ModalPopUpExtender? Thanks G.
  • Re: Signatures dont match Custom Membership provider

    What I want to do is create a ResetPassword method that doesnt require a password answer. Rather it just creates a new password and then returns the password string.
    Posted to Security (Forum) by g-spot-web on 6/2/2009
  • Re: Signatures dont match Custom Membership provider

    Gunteman, Apologies for the delay in replying - I have been on holiday the past week. Thank you for explaining the problem more clearly. However, I can't say I fully understand the issues here. I thought the membeship provider would 'provide' all the methods available to the MembershipUser class to avoid this kind of problem. G
    Posted to Security (Forum) by g-spot-web on 6/1/2009
  • Re: Signatures dont match Custom Membership provider

    Thanks for your reply Gunteman. I'm still a little lost on this. The MembershipUser provides a ResetPasword method that accepts no parameters and "Resets a user's password to a new automatically generated password" However, If i call the method ResetPasword() without any parameters from within my website application and then step through the code, the method actually calls the following ResetPassword method in my membership provider: Public Overrides Function ResetPassword( ByVal
    Posted to Security (Forum) by g-spot-web on 5/22/2009
  • Signatures dont match Custom Membership provider

    I'm using a custom membership provider for my website. However the signatures for the methods showing in the intellisense dont match the signatures for the methods in the custom membership provider. For example the intellisense show 2 possible signatures for user.ResetPassword: user.ResetPassword(passwordAnswer As String) user.ResetPassword() However, the custom membership provider only has one method signature: user.ResetPassword(userName As String, answer As String) So why is the a mismatch
    Posted to Security (Forum) by g-spot-web on 5/21/2009
  • Re: Mimic the Apahe SHA-1 password creation process

    Hi guys Thanks for your help on this. Just for reference the solution is: Dim HashValue As Byte() Dim AE As New ASCIIEncoding() Dim MessageBytes As Byte() = AE.GetBytes("yourpassword") Dim SHhash As New SHA1Managed() HashValue = SHhash.ComputeHash(MessageBytes) Dim base64HashedString As String = Convert.ToBase64String(HashValue) Cheers
    Posted to Security (Forum) by g-spot-web on 1/27/2009
  • Mimic the Apahe SHA-1 password creation process

    I need to mimic within ASP.net the process in which Apache webservers create an SHA-1 password. I thought it possible just to SHA-1 encrypt the password and then base-64 encode the resulting string However this does not create the correct result. I've read that Apache creates an sha1 digest password which is in binary format with only 20 characters. Is it possible to create this 20 character digest password from within ASP.net? Thanks for your help.
    Posted to Security (Forum) by g-spot-web on 1/19/2009
  • Targeting ASP.net controls from Javascript

    Hi all I'm attempting to use some jQuery functionality in my ASP.net web form and want to use a datepicker function to target the three dropdown lists that I curently use for selecting dates. The first problem is how to I get client side javascript to target controls that are "renamed" by ASP.net when parsed on the page e.g. < asp : DropDownList ID ="dropStartDateDay" runat ="server" class ="datePicker" name ="StartDateDay"></ asp : DropDownList
    Posted to Client Side Web Development (Forum) by g-spot-web on 12/5/2008
  • Re: SQL Injection

    Wouldnt it need login credentials to access the database?
Page 1 of 10 (99 items) 1 2 3 4 5 Next > ... Last »