Hash Issues
I have some simple hash encryption code that encrypts a password. Here's my code behind: Protected Sub btUpdate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btUpdate.Click Dim...
View ArticlePassing Data from asp pages to MS Access
HiI am working with a client at the moment who has developed an MS Access DB that accesses data from a remote SQL server by accessing asp pages stored on the SQL server. The asp page uses a string...
View ArticleStarting a windows service without elevated rights
Hi,I need a console app to start a windows service without elevated rights, I can run my app as an administrator and it works. The problem is non-admin users will have to run this as well. I found a...
View ArticleUsing the System.Web.Security.Membership in WinForms with Encrypted...
I have created a simple web site which uses the security elements of the ASP.NET web site (i.e. Users, memberships, etc.) to create users, hash passwords, etc.I am now creating a winforms application...
View ArticleHOW TO ENCYPT AND DECYPT FOR THE HIDDEN FIELD
Hi,U know that in general ASP.NET ViewState will be automatically encypted, but in ASP.NET mvc it WON'T——so HOW TO ENCYPT AND DECYPT FOR THE HIDDEN FIELD?Maybe Microsoft should improve this thing!Thx...
View ArticleAn anonymous type cannot have multiple properties with the same name Entity...
Hello All,I want to bind gridview through entity framework but it thorws error like-An anonymous type cannot have multiple properties with the same name Entity FramwrokHere is my method. public void...
View ArticleConfiguring ASP.Net 2.0 to use SQL Server 2012 for windows authentication
I had ASP.Net configured for windows authentication using SQLExpress on the local machine and is working fine.Now I had to move to the SQL Server 2012 located on a different machine (not the same box...
View ArticleRunning ASP.NET on Service Account
I'm having trouble running my ASP.NET application on a Service Account. I followed the How Tohere as best I could, but when I switch the application pool to run on the service account and refresh the...
View ArticleLoggedInTemplate control
I am using forms authentication. I have a Login view set as below in my masterpage<asp:LoginView ID="LoginView1" runat="server"> <AnonymousTemplate>...
View ArticleHttp only attribute implementation
I have to set 'httponly' attribute for SMIDENTITY, SMSESSION ,MAIL, XXX_PERSIST Cookies for security reasons. These cookies are auto generated as we didnt add any cookie in our application . I tried...
View ArticleSecuring Web Service (.asmx)
hi guys, i need a little help in securing my web service.I have aWebApplication1 and WebApplication2 WebApplication2 is having a webservice (Service1.asmx) and i want it that only WebApplication1 is...
View Articleopenssl usage
Hello !Is there some articles for beginners like how to use openssl on my site from C# code ? Is it really great safely library without security risks ?Thank you.
View ArticleConverting Java code to VB.Net Problems with ComputeHash
Hi,Converting Java code to VB.Net and all works fine bar one call to System.Security.Cryptography.SHA1Managed.ComputeHashThe code below is the Java that I am having trouble with and is fixed because it...
View ArticleWindows Authentication, Domain group, web.config. Is is at all possible?
What I'm trying to achieve is to have the user, using Internet Explorer, visit my webpage, bevome logged in and I want to do this using settings in web.config on my server.I don't want the user to have...
View Articlehow to set IsLockedOut to false with QuestionAnswer?
hello to all,i use asp.net membership and i want when user IsLockedOut equal True, show PasswordQuestion and if user Enter correct QuestionAnswer IsLockedOut equal to FalseWhat can I do to make this...
View ArticleNot keeping me logged in
I found this code online and it claims it sets a persistent cookie that will keep you logged in for an extended period of time (which is set in the forms timeout area of the web.config file), but it's...
View ArticleEncypt Signature Image Before Saving on the Server
Hi,Last days, I was trying to ENCRYPT an image before saving it on the server for security reasons. The image is a signature.A code in a page where it will be uploaded will encrypt it and save it....
View ArticleEncryption to plain text change advice
Hi.I need some general advice on the best way to deal with a particular scanario.I have a website which allows customers to create a quote request. This is essentially a shopping cart but they do not...
View ArticleHow do I secure a password In ASP.NET applications ? Travel in plain text
I use SHA1 Algo for hashing the password also add salt but even its travel in plain text when check the security by testing tool.How can i protect it ?
View Article