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

There is already an object named 'Users' in the database. when using...

I'm using this InitializeDatabaseConnection in my global.cs file but I keep getting an error:There is already an object named 'Users' in the database.when I try use my DB contextprotected void...

View Article


Windows Authentication with Active Directory

Hi Everybody,How do i implement windows authentication asp.net application with active directory serives. Please suggest me.Regards,Kishore Kumar

View Article


Company-Specific Roles via ASP.NET MVC Attributes

Is there a way to dynamically use Roles along with a specific Company ID or Client ID?  I am building a hosted application and need users to be assigned to a specific role FOR A SPEICIFIC CLIENT.  So,...

View Article

How do I

I have a dashboard which I load if a certain role is logged in. I have a link on the page to return to Default.aspx. The link is not working. The dashboard appears when I click the link. Please help.

View Article

Image may be NSFW.
Clik here to view.

ASP.net Web Site Administration Tool security tab problem

hi i have visual studio ultimate 2012 with sql server 2012 under windows 8 but i have a problem that when i going to access web site administration tool security tab which is not allow me to access...

View Article


ASP.NET request validation?

I am using WIF 3.51 with a ASP.NET 3.51 web app and getting the following error.  How do I globally disable request validation or set a custom request validator in ASP.NET 3.51?[HttpException...

View Article

ASP.Net MVC 4 + OAuth 1.0 - oauth_callback Not Sent

I need to authenticate with an OAuth 1.0 service.  I'm using the OAuthWebSecurity object to register my custom client in the AuthConfig.cs file.  The request to retrieve temporary credentials is...

View Article

Approach to switch from http to HTTPS

Hi,We have a web enterprise application based on ASP.NET (3.5), IIS 6 that uses HTTP protocol in production for some time. The security department has asked us to switch as soon as possible to HTTPS. I...

View Article


problem in login control

i used login control the user get registered but when i used login contrl user goes not get authenticated i used this code:if (Membership.ValidateUser(Login1.UserName, Login1.Password)) {if...

View Article


How to get current logged on user id?

I am using the built in membership tools.. the userID is stored in a database table called aspnet_Users..so what goes in here?protected void button1(object sender, EventArgs e) { string comment; int...

View Article

ASP.NET Forms Authentication not working!

I am hosting my asp.net vb.net website on Godaddy. it was working fine for the last few years. All of sudden from last week onwards asp.net forms authentication is not working. After logining in, the...

View Article

creating usernames ourself

how can i create unique member id by myself, by adding some fields.e.g= fields are: building:, batch: , course:,and if first student write: building=abc, batch= 2010-2013, course=bcaand click on...

View Article

Customising ASP.net Membership feature

Hi,I created a website using the built skeleton website in webforms (Visual Studio 2012), For the Membership feature how can i go about adding new fields in the register.aspx file ?, I know how to add...

View Article


MVC 3 Form Authentication Implementation??

Hi,Please suggest how to implement Form Authentication in my MVC 3 (razor views) application ?

View Article

SMTPClient and DefaultCredentials

Can anyone explain the following behavior from the System.Net.Mail.SMTPClient class?I am using ASP.NET 2.0.I am using web.config to configure the SMTPClient to send mail as follows (note the...

View Article


How can i change the default database for simple membership tables

Hello everyone,I would like to ask this quick question about the default simple membership database that comes with asp.net mvc 4.5 internet application , my question is about where does it create its...

View Article

How to implement security using LDAP account

Hello,I need to implement secuirty for my web application using LDAP account.Please explain how to implement it.Thank you!

View Article


tutorials on providers

Please I am in need of a tutorial that can explain two aspect in asp.net mvcFirst is a tutorial that can teach me how to use the default membership, role and profile provider in sql.Secondly I want a...

View Article

Generating user instances in SQL Server is disabled. Use sp_configure 'user...

Hello,I am getting this error message,Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.Well...makes sense that it is neccessary...

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
Browsing all 4737 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>