Restricting Access To Web Pages

I'm doing a web page with Admin rights to a MS Access database. So far when the admin logs in they are directed to the admin page. However if someone knows the name of the admin page they can still type it into the address bar and it will pop up with no restriction. Any ideas how to restrict this access to administrators only?

View Replies


ADVERTISEMENT

ASP Restricting Access

I am running a contest in which people can vote for a villain, but I had to take it down to figure out a way so people are only allowed one vote (at least per day or something) Does anyone know a way that I can restrict access to the people voting to one per day? I know how to get the users IP address through ASP, maybe something to do with that?
I am short on time for this

View Replies View Related

Restricting Access

I have a .asp page which is protected by a username & a password. Only people having the required details can view that but I wanted to know is that possible somehow that even if the user has username & password he should not be able login from every machine but only through machine from where we authorise.

The IP address of that machine will not be static so i cannot make restictions through that.

View Replies View Related

Restricting User Access

I'm trying to limit access to certain portions of our intranet application from certain user levels. For example, an admin user would have full access to the site while a data entry users could only access small portions of the site. What is the best way to restrict pages? I have a UserLevel field in the database for each user and have already added this value into a session variable. What about pages that should allow Admins and Managers, but not data entry users? I am using a SQL Server 2000 database .....

View Replies View Related

Restricting Access To Website From Public

I'm creating a web application for my company now. This application has 2
parts. 1 part for the customers to access. The 2nd part is for our staff to
access only. My director hopes to make the 2nd part to be something like an
intranet, such that only our company's computers (maybe only 1 or 2 in the
company) can login to this part of the application.

1. My company's intending to put the application on shared server with a web
host. Windows Authentication is NOT allowed.

2. My company doesn't have a static IP address.

3. My manager suggested using Network Card number (which I don't really
quite understand. Is there a way to get the Network Card number that's on a
client PC?).

How??

Some ISP told us that they can provide a firewall management feature such
that it will restrict access to the website from anyone that is not coming
from my company's network. This requires Static IP.

Another told me that IIS Manager has the security feature that restrict
access based on IP address. This requires Static IP again.

Is it possible to implement the 2nd part (the part that is to be accessed by
my company's PC) as a windows application instead? Then we only put the
windows application on one computer. So, 1st part (for the public) will be a
web application, 2nd part (for my company) is a windows application, both
accessing the same database server from an ISP. Will the ISP allow the
windows application to access its database server? I've no experience in
making a windows application at all, is it the same as making a web
application?

View Replies View Related

Access Certain Pages

I'm writing a CMS for my new web site and there will be around 4 users using it to update the site but I don't what all the user to accessing all of the pages. I want to be able to set which pages the can access.

So far there are 15 pages and growing to the CMS, I have made a login script and which user has there own account.

Now I was thinking I could add each file name (eg. page.asp) to a field in the database and when the page loads it checks to see of the filename is in that field of allowed pages. But a database field can only hold 255 Characters and my page file names are around 15-20 characters long so by the time I add more pages to the CMS it is going to exceed 255 characters.

Anyway I hope you have a understanding on what I want to do, so does anyone have any ideas on the subject

View Replies View Related

Data Access Pages

We were using asp pages to mine data from our ms access dbs. Now have upgraded to 2003 ms access. I tried the data access pages and am able to of course query data on the website from the db elsewhere.

Do you HAVE to have ms access on the machine to access the data this way? We tried of course and got "data provider could not be initilized". Is there a way around that?

View Replies View Related

Anonymous Access To ASP Pages Not Working

A freshly installed IIS on my Windows XP SP2 does not allow anonymous
acces to the default ASP file (localstart.asp). I just used default
configuration for installation, which enables anonymous access. But
when I load http://localhost I just get a login box. A simple
index.html placed manually for debugging purpose loads without login
prompt.

I am testing the same thing on a Windows XP (w/o SP2). ASP works for
anonymous access like a charm.

View Replies View Related

Controlling Concurrency To Access Web Pages

We have an issue where we need to control access to specific web pages e.g. if one user is editing a purchase requisition another user shouldn't be able to perform any actions on it.

I presume we could lock the purchase requisition for editing by a specific user when an edit button is pressed. Only that user would then be able to edit the document. However can anyone think of any better approaches to this issue which I presume must be quite common in other application domains.

View Replies View Related

Restricting Number

I have a Textfield input for an amount of money and wish to restrict this to two decimal spots any ideas ?Code:

<input name="amount" type="text" maxlength="10" id="amount" value =<%= amount %>>

View Replies View Related

Restricting Searches

I've created a search page that gets complete addresses based on postcodes, and name, suburb and address.Almost 6000 entries in the db.I want to limit the amount of times a user can search, i tried cookies but anyone can delete cookies and off they go again.The reason behind this is to prevent the opposition from collecting stuff and cold calling them.

View Replies View Related

Restricting Installation To One PC

If I were to write an application in ASP and sell it to a business, can i restrict people from installing it on multiple servers?

View Replies View Related

Restricting A Cookie To A Folder

how can I in plain old ASP restrict a cookie to a folder like http://www.site.com/folder1 so that it is not seen by folder www.site.com/folder2?

View Replies View Related

Restricting File Uploads

here is the code for the asp that basically handles the uploads, how could change it so that the uploading form will only allow .doc or .xls files? Code:

View Replies View Related

Restricting An Open Browser Window

Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?

View Replies View Related

Password Protecting Single Pages In Access Database Cms System

I am working on a CMS website which uses a access database.

When a user adds a page a record is added to a table in the database. The user choses the page style from a selection of 7 or 8 layouts.

I have been asked to find out if I can password protect one of those pages??

I have tried a few sites but not found much. The it has been done before is to add a password protected layout and build a login area into the site.

The effect i want is for the user to click the page and a username and password box will apear?

View Replies View Related

Asp Pages Randomly Showing As Blank White Pages

Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.

I enable server side and client side debugging, but no
errors showing up...

In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------

Any idea why it can happened and how to fix?

View Replies View Related

Old Pages / Cached Pages

I am always getting cached pages even contents of the page changed on the server but I am getting old page (data).How to solve this.

View Replies View Related

Creat Pages Using Other Pages

is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?

View Replies View Related

ASP Attempting To Access MS Access 2000 On File Share

I have a Development server that is running Win2k, IIS 5.0, and ASP enabled. I am trying to gain access to an Access 2000 DB located on a file server within my domain. I'm pretty sure I have all the correct permissions set, but I am having problems when trying to access the DB.

The error is similar to:

The Microsoft Jet Database engine cannot open the file '******'. It is already opened exclusively by another user, or you need permission to view its data.

I'm looking for ways to fix this... Microsoft suggests turning off the ability for IIS to sync passwords. Unfortunately, this is not a viable solution for me.

Is it possible to create a new virtual server that is a share to my file server? Put my ASP and MDB file in there and have it work? Anyone have any other ideas?

View Replies View Related

ASP + Access Question (Determining The Last Id Generated By Access)

I'm working on a site that inserts records into an Access database and Access assigns an auto-incrementing id for the record. How can I quickly figure out what id that was just created? I seem to remember there being a function for this....

View Replies View Related

Access A MS Access Database Using ASP But On A Linux Box

I want to move my only window shosted client to linux. The site they have access a Microsoft Access database with the below code but i can't get it to work under Linux.

<code>Dim MM_connPang_STRING
'MM_connPang_STRING = "dsn=pangDSN"
MM_connPang_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:clientdatabasepangDB.mdb"</code>

View Replies View Related

MS Access - Table Access Problem

I'm trying to access a table in a MS Access database using ASP but the name of the table is causing me some trouble. The problem is the table name has a space in it eg, "My Table".

If i try and access it using a query "SELECT * FROM My News", it says i cant find table "My". If i remove the space from the name (to MyTable) it works fine. But the trouble is its a customers database and i cant easily rename it because its linked to other tables and db's.

How can i access a table with a space in its name? I've tried "SELECT * FROM My_News" but that doesnt work either.

View Replies View Related

Access Remote Access Database From ASP

I have an ASP page needs to access a remote MS Access2000 database, I got error "The Microsoft Jet database engine cannot open the file 'F:Collect.mdb'. It is already opened exclusively by another user, or you need permission to view its data. ".

The 'F:' is a mapped drive from remote machine where the access database loactes. If I copy the database back to local box, no problem.

View Replies View Related

How Many People Can Access The Same Access Database

I'm looking to make an online multiplayer game which will utilize Access Database... basically I require thousands of people writing and reading from the same database... I was wondering if this is possible for that... or is mdb file restricted to 1 person at a time...

If it is limited what would you suggest as the best way to control an interactive online environment? .txt files possibly?

View Replies View Related

Query Works In Access But Not In Asp->access

What is this all about? Generally I run against SQL Server but now I have to use access. The query I want to run is a simple double join

SELECT tblArtists.*,tblGenres.name AS genreName,tblPages.pageId
FROM (tblArtists
INNER JOIN tblGenres ON tblArtists.genreId = tblGenres.genreId)
LEFT JOIN tblPages ON tblArtists.artistId = tblPages.artistId
ORDER BY surName ASC, firstName ASC

Now If I run this question in access against the database it accurateley returns two posts. BUT When I paste the same query into an asp document and runs it with a fileDSN against the same database it returns nothing!? Is this some kind of joke from Microsoft?

View Replies View Related

Access An Access Link Table

I have an Access DB which contains couple of link tables. All these tables are from different databases. So each one has it's own database password. Since there is no way to save the password during the DSN creation. Then you need to manually type in the password each first time when open the table.

This causes the problem in ASP code during run a query. Since the table cannot be accessed due to the password protection. Is there any statement than can open a table and meanwhile pass the password in? Does anyone experienced with the similar situation?

View Replies View Related

ASP Pages

We run a website with pages that are created using ASP. The website is
used by different people from different networks. For some people, the
pages are stuck. It looks like the were able to open the page, but it
is not displayed on their browser. We think that it might be something
to do with their proxy. Does anybody know how to solve this problem?

View Replies View Related

IIS 6.0 404 Pages

I had a 404 page set up in IIS 5.0 that would the the URL of the requested page from the query string. i recently upgraded to IIS 6.0 but it doesn't seem to put the requested URL in the query string as it did in IIS 5.0 and 3.0. Does anyone know how i can get the requested url property in IIS 6?

View Replies View Related

Pages

I have a bout 5 different pages of which each will contain a form requiring users to complete. These forms are all related as one project. It is necessary that if the user was to only complete the first form they could theoretically quit, come back later (time not dependant) and complete the remaining pages. Therefore I think the best way to do this is to write the values to the database upon each click of the next button. The only other issue with this is that the user will also be receiving a pdf file at the end of the full form submission with all their information inserted into this pdf and finalized. Now. I am aware of pdflib in which I need php but my choice was to do this in asp. What are my options here? Should I combine them, should I draw all the info from the db at the very end with php and then create the pdf, should I use sessions during the entire process

View Replies View Related

ASP.net Pages With AS.net

When asp.net pages are made in vs.net, loading on the
local host displays the labels all in the top left corner
of the screen. Also, all textboxes and image buttons are
not even displayed at all. If pages are made on a remote
server, they load perfetly fine, it is just the local host
displaying them incorrectly. Is this a common problem?? I
have iis 5.0 installed with windows 2000. i use the full
version of vs.net to make asp.net pages.

View Replies View Related

ASP 3.0 Pages

I have a web site I've recently moved to a new provider.It has
worked for years.On the new provider's servers ( Win2k Server .NET 1.1 )
my asp 3.0 pages often don't completely execute.
Here is what happens: Most of the page starts displaying in the browser,
then you see some HTML, then nothing.
If you refresh a few times, the page finally completely loads. There is
never an error reported during any of this.

View Replies View Related

Cannot Run ASP Pages

I have installed IIS 5 on Windows 2000 Server and have applied all the neccessary updates and patches. I am unable to run any ASP pages on the local server. I am able to view the HTML pages though. I have checked everything but cannot seem to figure it out. I end up getting HTTP 500 for all the web pages.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved