Security :: Best Way To Access A Admin Area Of A Website From The Main Page?
Dec 3, 2010
I have a simple online store where there are products that can be put into a cart and purchased. There is a admin page that can be logged into so that new products can be added or existing products can be removed or edited. To get to the admin area I need to put a /admin/index after the main page loads up. If I want to give my friends (from any location) the ability to add new products should I create a link to the admin area on the main page (like at the bottom) of the main page or should I just tell them to type in /admin/index after they go to the webpage?
View 3 Replies
Similar Messages:
Jan 7, 2011
I want to put my website project and admin website under same project as I want to use session and authentication of the main site. Also I want to show the admin, the page, where he has made changes. But the problem is whenever I will change anything in admin pages, I've to build the entire website. I don't want to do that. Can I build that separately?
I don't want to choose the option of building all pages separately as well.
Is there any alternatives of doing that. Separate projects for admin and website will come up with many other challenges. So I would like to avoid that.
View 2 Replies
Feb 16, 2011
I have a product´s page that when the user click on a "BUY" button , it sends an email to me with the produtct´s details and a link to the supplier´s detail. The problem is that, the page is on the "ADMIN" page, and when i click on the link, it shows and IIS 7 error.
View 4 Replies
Feb 11, 2010
Following one of the other tutorials I have figured out how to manage users [URL] but it does not mention how to delete them from the GridView. I have attached my Page's code plus my VB script. I have added a delete link into the GridView for preparation but all I would like is the VB script so that when the user clicks delete it deletes the user from the GridView and Databse. I hope I have made every really simple, anyway here it is:
ManageUsers.aspx
[Code]....
View 2 Replies
Mar 1, 2011
I am currently designing an ASP.Net web site where does not required any user login on the page. However, I do need to put an Admin page up along with this web page for my client use to manage the content on the page (e.g.: Change Pictures, Updating News). For security reason, I do not want to include a separate page sit reside in the site, so nobody can even try access to the page [URL]
View 6 Replies
Jun 11, 2010
I defined a few display templates for classes and they work well when I put them in views/shared/DisplayTemplates. However after I move them into an area, looks like ASP.NET MVC won't look inside Area to find the templates. How to reference the DisplayTemplates defined in an Area from main project? Is that a good practise?
View 1 Replies
Jun 10, 2010
I have a secure admin section in my website, only logged in users can gain access to this section, its controlled from the web.config file like this
[Code]....
This has all works perfectly well until now. Ive created a page that has an accordian control on it from the ajax control toolkit, as soon as I place this control on a page and run the web page, I get this error
View 1 Replies
Jan 29, 2011
I'm trying to restrict access to one page on my website. However, the code I'm using doesn't seem to work for this purpose. I can get the code to work by removing the following out of the web.config.
<authorization>
<deny users="?" />
</authorization>
This works fine by preventing access to the page unless a password is entered. However, I've realised that if I type the page name into the browser this will by-pass the login page and allow access to the page I want to lock down.
[Code]....
View 1 Replies
Aug 4, 2010
I have a strange problem in my website. When I log out from the site and try to type the URL of the main page (first page after login) it shows it as logged in, While other pages are ok, Also when I refresh this main page it returned to the login pageI tried to ways of log in and log out (FormAuthentication & Seasons)
View 3 Replies
Mar 6, 2011
I have a stripped down log in form on the top of each page, user/pass box and buttom, no keep me log in or error messages. If the user enters the right credetians he is log in and user name shows up instead of log in form; if he enters the wrong info, nothing happens.
Now, I want it to happen is that if the user enters the wrong credetians, and he doesnt get log in, he is redirect to the full Log In page.
View 4 Replies
May 9, 2010
well i have a main page in which i have a grid with templete (textbox "maintxt"and a button)and a pop up in which i have a textbox"popuptxt" i want when ever i click the button of every row i can see the maintxt text in popuptxt i can edit it in popup and then by closing popup the text of maintxt update
View 1 Replies
Mar 4, 2010
I have a directory structure root->admin-> admin operations admin page inherited from a ase page with principla security.demand role = "Admins" i am usinf forms authantication mode. i have also put a web.config file in admin folder, restricting other users. it is working normaly with siteroot/admin. I want to setup a mechanism to admin like siteroot/username/admin I can redirect to page admin but it gives security error, it should redirect to login page instead of if user did not sign in.
View 5 Replies
Jan 9, 2010
access the page on public section of the website from the admin section,while logged in?Or i am causing a security hole,jumping like this?all admin section pages have role based authorization and can not be accessed unless authenticated.Public of course is accessible to anyone.
View 6 Replies
Jul 19, 2010
In my web site I have a admin login page to edit the contents. Is it necessary that the default page has to be the login page..............Because in web.config file , under Authentication of Forms am using loginurl="MyLoginPage.aspx"......So is it compulsory that the Default.aspx =MyLoginPage.aspx.i mean to ask i should not change the name of default page or what?
View 5 Replies
Aug 26, 2010
Allow Admin Users to Access Basic Users Accounts?
View 4 Replies
Jan 9, 2010
I've set up a login control on a Login.aspx web page, which is authenticated using xml.
How do I stop people visiting my admin.aspx page when they are not logged in?
View 2 Replies
Mar 31, 2011
i want a simpe login systemm using webconfig file and one login.aspx page.
View 3 Replies
Nov 9, 2010
Can anyone point me to a sample admin page for managing users and roles (forms authentication). Something like the security section of the WSAT, but for a finished site.
View 3 Replies
Jan 26, 2010
Is it possible to allow an administrator to write to a readonly profile property by redefining the profile property in a web.config file used for administrators pages?
I have a unique account number which must be assigned to each new user (using the default asp.net membership provider). After reading a couple of articles it seemed it would just be easier to define it as a profile property instead of creating a custom membership provider. When the user makes changes to their profile on a profile page I create, I want the value to be readonly. When an admin views the profile I actually want them to assign the value to the property in their page.
View 1 Replies
Jan 22, 2011
I can't get past the "Test" link on the "Provider" tab in my Web Site Admin Tool (WSAT).
I'm running SQL Express (10.0.2531.0) and have created my "ASPNETDB" database using the version of aspnet_regsql that came with .Net 2.0. (When that work, I re-ran the version that came with 4.0.)
I have the following in my web.config:
[Code]....
And this:
[Code]....
When I go into the WSAT, to the Provider tab, I select "AspNetSqlProvider" and click test.
The error message I get is this:
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
Oct 16, 2010
I am sending the following xml to access a website and getting the error with the stack. I have spent weeks on it and getting no where. I am willing to pay for the advice as well, as I am getting sick of this!
<?xml version="1.0" encoding="utf-8"?>
<ers uname="---------------" pword="------------------" myAttribute="fooBar" anotherOfMyAttribute="123456">
<SalesNote snType="S" action="INSERT" salesContractRef="" saleDate="09/11/2009 00:00:00" auctionID="14" logBookNums="" landingDecNums="" vesselName="Jessica Louise" vesselPln="BM237" vesselMasterOwner="Cowe D" landingDate1="09/11/2009" landingDate2="" landingDate3=""
[Code]....
View 1 Replies
Mar 22, 2011
Working on my first asp.net webpage. i have followed video tutorials and implemented asp.net membership for login/security.Using Visual Studio 2010 i can open the Asp.net configuration page for management locally.But then if I want my site admin to manage users/security online, how is this done? Like manage through a web browser. I guess this asp.net configuration GUI is not available on the internet?
View 4 Replies
Apr 21, 2010
I currently have a dedicated server running a number of sites, one of these sites I would like to add a subfolder to which runs a seperate index.html file, so effectively it looks like a different site.
I am struggling to acheive this, can anybody give me the steps involved to make this happen?
To clarify, i have a web address for example www.mydomain.com and would like users to browse to www.mydomain.com/subfolder and open up a sub folder.
View 1 Replies
Jan 26, 2011
I have a .net website that I've built but here's the catch - when it's deployed I don't know whether it will be deployed to the root of the site or to a sub folder of a larger site (and it needs to be able to move around between places)
And - here's the important bit - we will have zero access to IIS on the live server so this just has to run straight away.
So far I've managed to find work arounds for things like paths to resources but I now need to use a 3rd party component (.dll).
Normally this would go in the bin folder and, if I run my site in the root of the website it works fine but, as soon as we move the site to a sub folder, the reference to the 3rd party component wont work.
Now - I know normally you'd suggest creating a virtual directory under IIS but remember - I HAVE NO ACCESS TO IIS.
So - is there a way to still use 3rd party components in my project and have my project all run in a sub folder of a website?
And no - I can't move just the bin folder to the root of the site - it all has to sit within its own folder.
View 2 Replies
Jan 10, 2014
i have been visiting alot of websites , and they have my area name which i did not told him(ofcourse). So just curious whats the trick behind this if i want to implant that how does can i achieve that?
View 9 Replies