.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Asp.net web site security database

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Hello all, I'm new to asp.net and I'm currently practising some few stuffs. I'm creating a hotel reservation system using ASP.net Web site in visual studio 2008 and I currently don't have an App_Data in my solution explorer unlike visual web developer.

1. I have planned to make users of the website login before making their reservations.

2. I have also planned to develop the website such that I will be able to know all reservations made by each user.

First and formost, I will like to know how I can access/View the security database?

Secondly, how do I link my custom made reservation database and the security database in order to achieve my second plan above.?

Someone help me.

Thank you.

View Complete Post

More Related Resource Links

Security Briefs: Protect Your Site With URL Rewriting


Learn the numerous ways in which you can rewrite URLs to defend against common Web vulnerabilities.

Bryan Sullivan

MSDN Magazine March 2009

FrontPage 2002: Build Database Connectivity and Office XP Collaboration Features Into Your Site


FrontPage 2002 is packed full of improvements and new features, and includes tighter integration with Microsoft Office. The result is that documents created in Word and Microsoft Excel drop right into your Web site. Tools such as the clipboard, context sensitive search, and advanced copy and paste features have been introduced. Improved views and editing features make content creation faster and easier. Enhanced publishing features give you finer control over what is published, and reports detail publishing and usage statistics. There are also many new wizards to help you fly through tasks such as database connection. This article looks at these and other important features you'll want to explore.

Marnie Hutcheson

MSDN Magazine June 2001

unable to attach database, security setting?


Hi folks,

I am using VS 2010 Professional with SQL Server 2008 Developer.  I right click on the App_Data folder in solution explorer and add an existing item, then navigate to the correct database.  However, I receive a pop up that Access is Denied.  How do I fix this? 

Redirect to Security Questions if Site accessed from unrecognized computer?


I'm fairly new to ASP.NET and i'm using the Membership Provider.  I have the need to do similar to some banking sites. Baically I need to track "authorized" computers/ip's for a user.  If the user accesses the site form a recognized Computer/IP then the user is allowed into the app after successful login.  If the computer/IP is not recognized I need to redirect them to a screen to answer the security question setup in fhte Membership Provider.

Has anyone done anything like this or can anyone point me to any examples?  I did a search, but can't seem to find anything.

My idea is to maintain a list of authorized computers/IP addresses and check them on initial login.  If the IP address isn't found I can redirect them to the questions.  My concern is that they are then actually authenticated and could enter any of the site URL's as an authenticated user.

Any suggestions greatly appreciated. 

Cannot crawl sharepoint site and mysite after database attach upgrade form sharepoint 2007 to 2010.

After database attach upgrade site and mysite from sharepoint 2007 to 2010 , I have full crawl and get "The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error. ( Error from SharePoint site: HttpStatusCode ServiceUnavailable The request failed with HTTP status 503: Service Unavailable. )" for mysite and get "Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled." for sharepoint site. The content access account for search is "db_owner" of both of site and mysite. How do I solved this problem ?

Security problem with cross database chaining and stored procedures

I have a situation whereby ProcA exists on database A, but ProcA executes about 20 stored procedures scattered across different databases. To further complicate matters some procs that ProcA calls also call other procs in other databases, this then presents the problem of cross database chaining where you can’t really write to a database from a proc that resides in another database. I am wondering how I can get around this problem, I know I can simply let open cross database chaining and the problem will go away, the other option is to create a proxy which is very complicated and wouldn’t work in my environment. Is there any way around the problem.

Cannot see top link bar when creating a Web Database site

Hi, I am new to Sharepoint 2010 and am very keen to start using the new Web Database site templates such as Asset Web Database and Issue Web Database. I am able to create these without issue however once i build and navigate to these sites i lose the top link navigation bar. For other sites such as Team Site this is not problem and the navigation site remains. Does anyone have any suggestions on how to show this navigation bar for these site templates?

Projects Web Database Site Template immediate error

I decided to explore the Projects Web Database site template - clicked to create the site, and immediately, received an "an error has occurred." message on almost every tab of the site. What am I missing?  Am I supposed to configure something before I create this type of site?   I get this error in the event viewer: Log Name:      Application Source:        Microsoft-SharePoint Products-Access Services Date:          9/8/2010 10:03:43 PM Event ID:      3 Task Category: Data Layer     Access Services: An unexpected error occurred. Exception message: There is a compatibility range mismatch between the Web server and database "WSS_Content_PT", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.   Any help is appreciated!  Thanks!  

Site & Site Database Deleted

Hello, By mistake from Central Admin Site & Site Data base has been deleted. Is there any way to back it up.Thanks, Sam

how to disable creation of security groups as part of site provisioning for out of the box

I have requirements that I would like to create the sites with no security groups. Add users with specific permissions levels. Is there a way to disable the step in the default site provisioning process for out of box templates, that not to ask for creating of the security groups..net Architect

Is there a way to obtain where in a sharepoint site a certain security group is used?

There is a sharepoint group that has been set up and is used throughout a single sharepoint occurance with many team sites and lists. It has orginated from AD and sent over to sharepoint with collection. The want to rename the group name. I have used it throughout the site. Is there a way to identify what sites and lists have been secured with this site so I do not have to go manually through site by site? Thanks, Angela

Site & Site Database Deleted

Hello, By mistake we have deleted Site Collection & its database from SharePoint Central Admin. But, our Backup software is taking backup of all files every day. if we restore all files again is there chance we can get back all sites and database connectivity again? Pls, helpThanks, Sam

Unable To Connect Database Error:Sharepoint 2007 Internet Site.

Hi Techies,  we are running 4farm Sharepoint internet site. now a days we are getting the below error very regularly. Event Viewer :The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: #50071: Unable to connect to the database SharePoint_Config on SPPREPROD02VMDK\SPPREDPROD.  Check the database connection information and make sure that the database server is running.. Sharepoint Logs:#50071 :#50071: Unable to connect to the database SharePoint_Config on pfc-penndb-tst. Check the database connection information and make sure that the database server is running.. Please Advice . Regards, raju.  Nag: http://nagaraju-sharepoint.blogspot.com. Posting is provided with no warranties.

how to recover the site collection from restored database



i have a backup of one database which is used by existing web application. I want to access the same contents with different web application. i have created a web appln with restored database,and i could not see the site collections which are in existing web application. Please guide me to get the site collections. Please correct me if my approach is wrong...

Thanks in advance.

security for membership database


Hi folks,

I am working on an asp.net application with membership controls and the SQL Server database.  I have this put together, however it appears that adjustments need to be made to enhance security.  Many websites have membership features, so I was wondering if there are some blog posts that describe the steps that need to be made to enhance security.  Can someone make a few recommendations?


How to create ecommerce site and database for it


Hi friends,

         I want to create small ecommerce site with sign up and log in pages.  there are two categories jeans and T- shirt

         I want to create category pages and product pages but I dont understand how to form tables in database means exactly how

         many tables required for this application and how all tables are connected  to each other ( how to make relationship in tables)

        when particular user sign in and select particular pages how it will added in his cart.

please provide detail information..............

Waiting for reply

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend