File Upload Security
Hi,I'm developing a website and I'm securing it from XSS, SQL Injection, etc.In some places in my site, user can upload files.I limitted the files extensions to images, text, pdf and zip...But I'm...
View ArticleCreating and Manage roles using LDAP access
I need assistance do the following:Creating and Managing Roles Assigning Roles to Users Role-Based Authorizationusing LDAP authentication under ASP.NET 3.5, C# 3.0.I attempted to search under Google...
View ArticleProblem Running signtool.exe with Impersonation
We have an ASP app which compiles Silverlight DLLs and shoves them in a Xap package. The ASP app then needs to sign the Xap package with a certificate for elevated trust to work. This is done by...
View ArticleConvert from Windows auth template to Form Auth
Hi folks,I'm pretty new to web dev and have built an application using Windows Auth MVC Template, unfortunately now for a variety of reasons the client needs authentication to be forms but using a API...
View ArticleCheckBoxList and Role management
Hello, i want to display the list of role with a CheckBoxList and check the user roles :CheckBoxListRoles.SelectedIndex = -1CheckBoxListRoles.DataSource =...
View ArticleBasic safe system
I want to store my users data in database and can check in all controllers actions users permissions with a little of code. What way to provide it is very simple and safe ? Give a clear example, please.
View Articleenable SSL
How do you enable SSL? I have an MVC 3 app (VS 2010 Express). I selected the project and clicked F4 to open the project's properties. I don't see a property for Enable SSL. Where is it?
View ArticleBasic safe system
I want to store my users data in database and can check in all controllers actions users permissions with a little of code. What way to provide it is very simple and safe ? Give a clear example, please.
View ArticleSSL sertificate for WCF service
Good day!I have a secured web-hosted WCF service, based on wsHttpBinding. I need allow access to the service by custom username and password. Also, I need to keep session alive during client...
View ArticleBroken URL authentication not working in IE 8
In my website we have done required session validations, when copy and paste the url in a new browser it shows session logged out message but in case of IE 8 if I have copy paste the url into new...
View Articlechange password
hi,I have a web site,I want to add change password page,how can i do? i do'nt want to save in database,i want to hash password in C#
View Articleasp.net membership provider multiple roles and teams
i am using asp mvc3 and default membership service.i have roles and teams conceptEx:-roles: Admin,user,guest,teamadminteams: team1,team2,team3...users: user1,user2user1-->user in team1 and guest in...
View ArticleC# Need to Configure for Users/Roles, etc...Asp.net 4.5 Website / SQL CE 4.0...
Anyone have a sample of code for a WEBSITE not Web Application. That uses SQL CE 4.0 for user authentication via the ASP.NET Configuration Tool. Using the VS login controls. Can provide the necessary...
View ArticleWindows Authentication in windows 7
I have a created new web app in windows 7 in .Net framework 4.5And I am using Response.Write(HttpContext.Current.User.Identity.Name.ToString()); and it is null always.If I do the same thing in Other...
View ArticleVariable user id in connection string
hi.. is possible to make a Variable user id in connection string for example..<connectionStrings> <add name="Northwind" connectionString="Provider=sqloledb;Data Source=.;Initial...
View ArticleLogin control not allowing users to log in
I am developing a web application using VS2008 and SQL Server. I have years of experience as a Windows programmer, but little as a web programmer. My only prior .net experience is working my way...
View ArticleAscribing Local Roles to External Logins
I have a Web Forms website using Forms Authentication with local Users and Rolls. I have added OAuth/OpenID support so that a user can login to the website using Google, Facebook, etc.Once the user is...
View ArticleMultiple organisation with multiple users
Hello, I'm building standard web site that allow user to create a login for an organisation. Then these user will be created multiple users for their organisation. How do I manage the link betwen the...
View ArticleEncrypting and decrypting pdfs
So I'm trying to write an application to encrypt files and store the, then when a user wants one, to decrypt it. I've got it working, the only problem is that when you open the decrypted pdf, it's...
View ArticleForm Authentication - How to handle request which fails authentication in...
Hi I am trying to implement form authentication . What I am trying to do is , I am going to create a cookies if login success .Later I am gonna check that cookies in every request .To do this, I need...
View Article