Security :: Ideas On Structuring Administration Section
Jan 28, 2010
I need some fresh input on how to structure a control panel that I'm building. Here's a little background:
The purpose of the system is to allow the submission of online forms. The forms are stored and processed in a database. Currently there are 3 departments that each have their own set of forms, and each department processes their forms a little differently. The staff should log in and process forms for their respective department (so each department only sees their submissions).
Almost all forms go through a workflow of sorts: 'new submission'-->'in progress'-->'completed', although this may vary.
Right now I've got it mapped out to have a page for each dept. that displays the new submissions, completed forms, etc. (new.aspx, inProgress.aspx, completed.aspx). Here's the question--should I have only one completed.aspx page and use it for all departments (hiding and showing forms based on the employee/department that is logged in), or should I set up three different control panels with three different completed.aspx pages--one for each department?
View 2 Replies
Similar Messages:
Jul 23, 2010
I have a site I am working on, that will have a home page with a login control. I would expect that after logging in, access is permitted to only certain areas of the website. I would imagine that the properties set by the login control will determine which pages can be viewed. Does this make sense? I know that many other websites have this type of structure, just not sure how it is organized.
View 3 Replies
Sep 9, 2010
I'm working on a website where it should be possible for registered users to upload word documents. The administration of users is done through Membership and Profiles. When the documents have been uploaded, the following needs to be achieved:Non-registered users should not be allowed to download documents I should be able to control which users that has access to which documents I should be able to register which user downloads which documents I should be able to track how many times a document has been downloaded
Can this be achieved be using Membership and Profiles?
View 1 Replies
Jan 17, 2011
When I click the security tab in Asp.Net Web Application Administration the ASPNETDB.MDF database is not created.
I am using SQL Server 2005 and MS Visual Studio 2008.
View 2 Replies
Oct 19, 2010
I am using Visual Studio 2008 Pro SP1. Every time I try to access the security tab in Web Application Administration Tools I get this message:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may in diagnosing the problem: Unable to connect to SQL Server database.
View 4 Replies
Jun 23, 2010
I got an error when trying to configure roles:
The following message may help in diagnosing the problem: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
The schema is there and i configure web.config for using roles.
Web.config
[Code]....
Can this corce by insufficient permission?
View 7 Replies
Aug 10, 2010
login control portion of Murach's web dev w/ c# book. According to the books instructions, you create a Login.aspx page, add the login control to the page, and create the users and roles for the directories within the asp.net web site configuration tool. I still do not get prompted for user name and passord to access the pages I want to be secured. Why is this? Isn't the asp.net configuration tool supposed to edit the web.config file? I'm trying to follow the book to the letter and ensure that I am following correctly before posting for answers online. According to the book you do not have to edit anything or write code withing login.aspx page.
View 3 Replies
Feb 19, 2010
I get the following error while running ASP.Net Web site administration tool: ASP.Net Web site administration tool I am using visual web developer 2008 express edition and windows XP pro version 2002 service pack 3. I am following Microsoft Visual web developer 2008 express edition by Eric Griffin and in chapter 4 I need to use the administrator tool to set up passwords.
View 1 Replies
Aug 5, 2010
I have just installed Visual Studio 2010 trial. Previously I have been using Visual Studio Web Developer 2010 Express. Now every time I try to invoke the ASP.net Cofiguration tool either via the icon or through the Project File Menu item, I get the error message "An error was encountered. Please return to the previous page and try again." I am trying to develop a bog standard Silverlight Business Application. There are no other diagnostics. Is there anywhere I can look for more clues or anything else to do to alleviate the problem? or is this something peculiar to the trial version I am using?
I also think it might have something to do with the fact that I have created this Silverlight Business App on a directory on my D: drive and not the normal, default c: drive path and maybe the web sit admin tool is looking somewhere else. Could this have something to do with it? If so what is my remedy?
View 6 Replies
Jan 3, 2011
since installing VS2010 I have problems with configuring membership. Using a online sql database what I prepared with the aspnet_regsql tool tables are there connection string is ok! when I open the ASP net config tool, I do not manage to select the membership provider. Underneath my web config file. can sombody tell me what is wrong??
[Code]....
View 3 Replies
May 13, 2010
I get the following message while trying to access the Security tab in ASP.NET Web Site Administration:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)I have configured my own data store following this guide. Which essentially tells you to run aspnet_regsql.exe to set up a data store in order to keep authentication data for a SharePoint site (which is what I want to do).This is what I've written in the web.config at the end of the tag <system.web> for the Visual Studio 2008 project initiated to deal with the Web Site Administration:
<membership defaultProvider="AcAspNetSqlMembershipProvider">
<providers>
<add name="AcAspNetSqlMembershipProvider"
[code]...
View 6 Replies
Nov 1, 2010
I kept getting this using ASP.NET Administration Tool/Security tab: There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
View 3 Replies
Nov 15, 2010
I am building a web site and am trying to run the web site administration tool.
I have reinstalled SQL Server 2008 express and have run the command line administration utilites. When I try to run the administration tool, get the following error when I click on the security tab is
Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.
I have ensured that I have user instances are enabled
When I click on Choose Data Store I get the following error
Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider.
View 2 Replies
Feb 2, 2010
I am have problem getting the security selection to view properly. Instead of getting roles and so on I get this following error message:There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem:Unable to connect to SQL Server database.
View 2 Replies
Jun 22, 2010
Im using Visual Studio 2010. I'm new to asp.net. I'm trying to do a simple user login page but whenever I try to launch the Web Administration tool, I keep getting some exception error. The below images is the error I encountered.
View 4 Replies
Jun 16, 2010
providing template or sample code to manage users from Client side.
My Environment Details:-
Framework: 3.5
Code Behind: C#
Membership/Roles Provider: SQL Server
View 3 Replies
Oct 1, 2010
When building complex applications the controllers can start to get unwieldy and very large, which may mean that you split them out into separate controllers. This may not be suitable as it will be reflected in the users experience. Ie. They will see the controller name in the URI. For example: The default project that ships with MVC has an AccountController, that has actions for login, logoff, register etc.. which seems to violate the Single Responsibility Principle. So the question is how to resolve this problem and separate out the concerns? An initial response could be just to create separate controllers. Ie.
AccountLoginController
AccountRegisterController
But this would not be a great experience from a customers point of view as it would effect the URI when requesting the resource. A solution could be to have separate folders for each controller which contains separate class files for the action, each one with a single responsibility like so.
Controllers (folder)
Account (folder)
Register.cs
Login.cs
Logout.cs
AnotherController (folder)
Actionfile.cs
Actionfile.cs
The above would separate out the functionality and be highly cohesive. So, this is a long explanation, but my questions are. Has anyone implemented this before? If so how do you go about it? What are your thoughts regarding this pattern?
View 4 Replies
Sep 8, 2010
I've build a class like this:
[code]....
The values of this class are set at postback by clicking a radiobutton list. Problem however is I don't know how to save this values across multiple postbacks. I thought of using viewstate but I'm not quite sure how to do it with this class.
Maybe I'm missing some important thing here.
Hope someone can point me in the right direction.
View 4 Replies
May 3, 2010
I am wondering how to encrypt the below information in the "web.config" file of the "Account" folder (where we have the secured pages):
[Code]....
My issue here is that even after I compiled my application (using "aspnet_compiler -v /reports c:
eports"), the information inside the web.config file of the Account folder still not encrypted, and I want to publish my site to the customer server. So, since this server is a customer server, then they can access this "web.config" file and change our web-application security behaviour (correct me if I am wrong). Basically, I don't want the customer to even have access to our secured pages when they access our web-application using the web browser. How to solve this issue?
View 2 Replies
Aug 5, 2010
What is the best way to set up a members only section where users can edit their personal information, save profile images, view friends, view images, etc...? Would it be best to create a site map for just the members only section? when changing pages within the members only section is the userid passed in a querystring or something separate?
View 4 Replies
Mar 12, 2010
Is it possible to set the allowed list of users through code? If so how would that be done? I have the following in my web.config:
[Code]....
How can I dynamically add users to the list of "allow"?
View 2 Replies
Jul 12, 2013
with this code website works perfect
<configuration>
<system.web>
<httpHandlers>
</httpHandlers>
</system.web>
</configuration>
but when I add
<add path="ThumbHandler.ashx" verb="*" type="Delshad.WebControls.ThumbHandler,Delshad.ThumbPic"/>
or
<add verb="GET" path="CaptchaImage.axd"
type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
in httphandlers section when I go in my site it is only a blank page!
before In other two host there wasent problem but this is a new host and I face with this problem.also in local there isn't any problem.
View 1 Replies
Mar 10, 2011
I am trying to create a forgot password section within my login section and it doesnt seem to work.
In my forgotpassword.aspx page my code looks like this:
[code]....
According to our records, you have requested that your password be reset. Your new password is: <%Password%>
If you have any questions or trouble logging on contact a site administrator.
No connection could be made because the target machine actively refused it ::1:25
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it ::1:25
View 2 Replies
Jul 14, 2010
I have googled the similar problem that many people are facing but I still can't solve mine.I'm trying to visit the ASP.NET Web Site Administration Tool at
http://localhost:49274/asp.netwebadminfilesThe page shows me the error "An error was encountered. Please return to the previous page and try again."Some says it has to do with web.config file, I'm new to ASP.NET, here is my web.config file
[Code]....
View 1 Replies
Feb 4, 2011
I need to create a membership section in my ASPX website and I was wondering how do I start. It should be a simple member log in section, where they could register, see their profile, and upload documents once they register. Do I need to create a database for that or visual studio 2010 already has some templates included?
View 1 Replies