Quantcast
Channel: Security
Browsing all 4737 articles
Browse latest View live

ASP.NET MVC 4 and authenticating off/using a separate EF5 (model-first) project

Hi guys, new to the ASP.NET MVC world and simply can't get my head around ASP.NET memberships (or their SimpleMembership cousin in MVC4).I have an ASP.NET MVC 4 project and a seperate model-first EF5...

View Article


ASP.NET 4.0 MVC3 Windows Authentication with Anonymous Authenticaion fallback

I have an Intranet scenerio with many domains and extensive VPN access.  Only 1 domain will utilize Windows Authenticaion the other domains will not need to be authenticated, as they will have limited...

View Article


how to apply "Remember Me" in c#

I want to know how to implement "Remember me" in c#. I am having a login form, with a checkbox, when the user has logged in once his credentials should be stored in cookies. so that next time, the...

View Article

Help with authorisation and custom per page role question

Hi all, First post on here so be gentle... I am a c# developer who has programmed one or two minor web apps and a few windows apps using the .net framework. I generally love the api's available, but...

View Article

Help Configuring SimpleMembershipProvider with MVC 4 Internet Application

Hello, I am having some troubles figuring out how to configure the settings for the SimpleMembershipProvider in a new ASP.NET MVC 4 Internet Application, and can't seem to find any *GOOD* documentation...

View Article


A Different Login/Membership

Okay, i have been over the forums and havent seen anything like this scenerio i want to describe. i have tried and failed to change the membership that asp.net provides using this scenerio as well. I...

View Article

Storing Additional User Information (C#) Issue

Hi All, I have been following the below article to allow me to display logged in user specific information to a logged in user, my particular example being a employee profile page that will display...

View Article

Error: 'jQuery' is undefined when using authorization in Web.config

Hi,I want to restrict unauthorised access to any page to any user so I added<authorization>      <deny users="?"/></authorization>in web.config file of my application. That problem is...

View Article


Encryption and Decryption

HiSorry if this has being posted before but I have searched and found no info so my question is:I am creating a user website where phone numbers are stored and I want to encrypt the phone number before...

View Article


Login1.FailureText is never visible

hi there i have a login control on my page when the user digit a wrong password i usually set Login1.failureText="Error" but it is never visible to the page how can i do? here the code i useProtected...

View Article

Export to Excel, Application Users with Granted Roles

Is there an easy way to export to Excel, the list of all Application Users and roles from the database aspnetdb?Thanks!

View Article

How to get the client username in a Web app ?

HiI need to get the username of the client side, I'm usingEnvironment.UserNameI get .NET v4.5 Classic as usernamein the case I useRequest.LogonUserIdentity.NameI Get NT AUTHORITY\IUSR  as usernameI set...

View Article

Adding an asp.net membership provider to asp.net web application that hosts a...

I am trying to figure this one out. I am using a simple WCF service that is hosted by an asp.net web application that is going to be used for authentication for a mobile client and a desktop client and...

View Article


Where is SimpleMembership documented?

I've read some of the Blogs (Jon Galloway, Matthew Osbourne). Is this provider actually officially documented anywhere? Like an SDK?Seems to me it went out half baked. No decent documentation and no...

View Article

Is https over-rated? I mean whose ASP account has ever been hacked?

HiI'm new to ASP.NET and just learning about forms and how to enter login/password data.I'm thinking of setting up a web-site where users can register and login - a bit like ASP.net in fact.The...

View Article


Is it possible to add an attiruibute (i.e. Timezone) to a user's profile?

Is it possible to add a new column to the "Memberships" table, such as what timezone the user typically accesses the website from?  This is something I would want the user to be able to set.  I'm wary...

View Article

SQL databases in VS.NET 2012 / Win8 64-Bit

Done a fresh install of VS2012 under Win8 64-bit. The only SQL I have was installed from the VS disk. In VS2010, you could just go into ASP.NET Configuration, access the Security and a Membership...

View Article


Password recovery control asp.net-Dont want username in email

Hi Ihave used form authntication and used password recovery control which send email haivng username and passwordIs it possible to not allow username in email , only password should be sent to mail...

View Article

Newby - how to save value from dropdownlist in .net membership usercontrol

Hi,I'm building a registration system based on the standard asp.net membership provider.  I have a series of text inputs in a registration form and have those all hooked up to save correctly on...

View Article

Invoke a Web Service with Certificate

HiI'm trying to connect to a Web Service which autenticate via certificateI have the certificate (.cer) and this is the code in C# , VS2010static void Main(string[] args)        {            //// Get...

View Article
Browsing all 4737 articles
Browse latest View live


Latest Images