Security :: Dynamically Populate Allow Section?
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
Similar Messages:
Aug 8, 2010
Is it possible to set the connections string dynamically in the health montitoring section of the web config?
View 1 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
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
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
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
Jan 1, 2011
In my web.config file, I have an authorization section that is supposed to deny all users EXCEPT for those included in the group specified. However, my login form doesn't allow these users to proceed to the next page - the login form just reappears as if the user has been denied. Code:
[Code]....
I have a user named 'test' that is in the Student Council group. I've tried 'allow users' and 'allow roles' with no success. I've also confirmed that the user is able to log into any workstation in my domain.
View 20 Replies
Mar 11, 2011
I have a problem....my password recovery control is not going into Question Template section ....It was working fine for a couple of days before but for some weird reason it stopped working.....Whenever i click the submit button it directly goes and calls the PasswordRecovery1_SendingMail function(it doesn't ask any password recovery question)
[code]....
View 2 Replies
Apr 15, 2010
I have a few pages that need to use SSL and I am confused bc I read you should set the forms authentication section in the web.config to use SSL. so if this is the case, the user logs in (login page is using ssl) the forms auth cookie is created and now if i redirect to the non ssl enable home page, does this mean the auth cookie will not be transmitted, so i can't display like a welcome module or know the username of the user who logged in?
View 6 Replies
May 26, 2010
i've run into small problem, here's the thing: i've got a dropdown list (ddlist1) that i am populating from a database, that works fine. However, depending on the option selected here, i need to populate another dropdown list (ddlist2). for example, if on ddlist1 i select option 1, on ddlist 2 i should get a list of options related to option 1 from ddlist1. If i select option 2, on ddlist 2 i should get a list of options related to option 2 from ddlist 1. and so forth. this information with which ddlist needs to be filled, comed from another database. o how can i go about this? m not sure yet how to code the second ddlist.
View 4 Replies
Jan 18, 2011
I have the following code to generate a table with the necessary textboxes. Now i need to populate those fields with the data from the table. If it makes it any easier, the individual textbox values are stored in a table with a reference to the main recordID
How can i populate the correct textbox with the appropriate column value?
[Code]...
View 10 Replies
Jan 8, 2011
I am using Asp.Net 3.5 along with C# and database is SQL Server 05. I am using Asp.net menustrip that is bind with with data source using LINQ to SQL. i also add some CSS stuff with menu so that after applying CSS my menu show at top of website horizontally.
But i need some JQuery Menu (stylish menu) which should be populate dynamically.
For Example i created two roles 1) Admin 2) User
When admin loggin the admin menu show when user loggin admin menu hide and all the data of menu is populate via JSON file. I am using sitemap to populate menu but now i want some JQuery Menu which is stylish and should populate accodrding to needs not be hard coded.
View 6 Replies
Mar 21, 2010
what I am currently doing is creating an aspx form dynamically and saving its data by using Server.Transfer("PrssPage.aspx").
On ProcessPage.aspx I am using the Previous Page property to save the data entered by the user using the dynamically created form.
Each Dynamic Form is provided an ID for example 123.aspx
Now what I want to achieve is to repopulate the dynamically created aspx page with the user input values from database, plz note here that I do not have an aspx.cs page getting dynamically generated. I am only generating aspx page.
View 2 Replies
Dec 10, 2010
I've created a static table, which looks just as I would expect it to, but I want to reduce my work in the future, as I'll need to create more rows and columns to store extra data that's added to my application.
So rather than creating new rows and columns whenever I need to, I'd like to automate the task by pulling the data from the database and populating a table that's dynamically created based on how much data is pulled.
e.g. if there are 10 rows of items in the database, create 10 columns and 10 rows, if a further 5 things get added next week, I want to add another 5 rows and 5 columns etc
Is this where "Dynamic Data" would play a role? If so, it's completely new to me, my needs are just for a single table on a page, not something that needs to be done en'masse all over the website, if that makes a difference?
View 5 Replies
Jul 3, 2012
Scenario is: I have multiple positions and multiple employees.
Now in one of my forms I know how many positions are there and corresponding to each position i want to show Employee DropDownList(DDL) and Text Boxes (Start Time, EndTime) and some comments for each position. Employee DDL will be populated from DB and Position name will be displayed on labels and that too are getting form DB
say at one instance i have 5 positions and then i want DDL of EmployeeName for each position and similarly TextBoxes for each positions Where i can ask user to full the information for each Position and user can save the data.
And at another instance similar behaviour is required if Positions are 10 , 3 , 8.
View 1 Replies
Jul 14, 2010
I have a page with a gridview in which I currently populate with a stored procedure. There is an additional column I want to add to the gridview and populate (either dynamically or with a sqldatasource). Though I'm not sure how? If I create it dynamically, I don't know which gridview event to use (I would guess the rowcreated event)? Which is better or is there a better alternative to what I've proposed?
View 3 Replies
Apr 14, 2010
My system: I have installed Windows 7, VS2010 and .NET40 and ASPAJAXExtSetup.msi I'm getting the error below.
Error Summary. HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
View 13 Replies
Dec 3, 2010
Add rows dynamically to a table and poulate data in cascading dropdowns,I am using ASP.NET3.5,
View 2 Replies
May 3, 2013
I followed the article Nested GridView Example in ASP.Net using C# and VB.Net ..... It is a great article and very simple to follow. I easily modified it to suit my needs and added several more levels to the nested GridView.I am a VB.net Programmer and I have never used ASP.net or JQuery before.
The data I am using is very large and with the "OnRowDataBound" events, the Page is Pre loading all the data into the gridviews and the Plus/Minus images are just displaying/hiding the nested gridviews. The question is "How to make the nested gridviews populate dynamically?" I want to have the nested gridviews to databind when the plus image is clicked.
I added the below code to the Plus image click Function to execute the server-side "BindData" Function. however I don't know enough about ASP or Jquery to get the GridViewRowData to send to the server-side function.
$("[src*=plus]").live("click", function () {
$.ajax({ type: "POST", url: "Main.aspx/BindData", data: '{}', contentType: "application/json; charset=utf-8", dataType: "json", error: function(err) { alert("err");}, success: function (msg) { // Do something interesting here. alert("ok") } }); $(this).closest("tr").after("<tr><td></td><td colspan = '999' width = '100%'>" + $(this).next().html() + "</td></tr>") $(this).attr("src", "images/minus.png"); });
Server Side "BindData"
[code]....
View 1 Replies
Jul 29, 2013
Populate Menu and SubMenu Dynamically from Database using Repeater control in ASP.Net.
View 1 Replies
Mar 17, 2010
Detailed Error Information
Module
IIS Web Core
Notification
Unknown
Handler
Not yet determined
Error Code
0x80070032
Config Error The configuration section 'connectionStrings' cannot be read because it is missing a section declaration Config File \?C:inetpubvhostscno-o.comhttpdocsweb.config
View 9 Replies
May 18, 2013
I am using Asp.Net web-application. How exactly to create UL menu with ListView control such as :
<ul> <li> <a href="#">Item #1</a> <ul> <li> <a href="#">SubItem #1</a> </li> </ul> </li></ul>
MenuId SubMenuId MenuName MenuUrl
1 0 Home Home.aspx
2 0 Administration Administration.aspx
3 2 Add User AddUser.aspx
4 2 Add Organizaion Add Organizaion.aspx
5 2 Add Program AddProgram.aspx
6 2 Add Activity AddActivity.aspx
7 0 Search Search.aspx
8 0 Utilities Utilities.aspx
9 0 ContactUs Contact.aspx
View 1 Replies
Dec 24, 2010
I m using multiple sitemaps in my website. The providers are defined in web.config file as:
[Code]....
[Code]....
Now I m trying to modify one of my xml file in memory to dynamically populate querystring but when I use
Dim currentNode
As
SiteMapNode =
SiteMap.CurrentNode.Clone(True)
I get Null in my currentNode and I cant point to the node.
View 5 Replies