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


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 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 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 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

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

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

Write Access To MS-Access

I generate my codes using a generator. My problem is that I can not write into my Access database. I had gone to tools to allow access permission . still nothing.

View Replies View Related

Access Into ASP Or PHP?

I have a MS Access file that consits of 500 movie titles, I already upload this file onto Brinkster.com, but I don't know to code this into ASP or PHP so I can have an on-line database. Please help me code this Access file into an ASP or PHP file.

View Replies View Related

Access Look Up

I have a field in my Access db which is used to put a category against a company, rather like Yellow Pages. The categories are held in another table in the same db. The Category field in my companies table is a look up field using this syntax

SELECT [categories].[ID], [categories].[Category] FROM categories;

My problem is when I want to list a company and do a response.write rs("Category") I get the ID relating to that category rather the description. How can I get the description instead?

View Replies View Related

Access Help

I am using Access and ASP.I am just trying stuff out.I created an access database and put some validation in access on some fields.
I created an ASP program to insert into my database.
When I try to insert a record that validates OK with access rules all is fine.
Then I type input that violates the access rules; I hoped to get a helpful message back.
All I got was my message saying an error had occured and it was Error number 0 and native error 2097228.
As I was testing I know it is due to failing a validation in access.
I am learning I wanted to look up this native error, I cannot find it in access help or internet searches where would I look for native errors please?
I know I need to validate client side that is not the issue it is understanding native errors!

View Replies View Related

Access DB

I'm trying to search the Access database using 3 fields and I think there's a problem in my If statement...pls check it out for me.....I'm using ASP...this is what I'm trying to do:

If Request.Form("txtUser_Id") = "User_Id" and Request.Form("txtWeekNo") = "WeekNo" Then
strSQL = "SELECT (MSD + Methods + Analysis + Architectures + Models + Studio + Elective1 + Elective2 + Elective3) AS PersonTotals, FirstName, LastName, WeekNo, Semester, StudioTeamName FROM tblpersons"
strSQL = strSQL & " WHERE Semester=" & Request.Form("DaInBox")
'strSQL = strSQL & "WHERE Semester ='" & strSemester & "'"
End If

View Replies View Related

Access DB To SQL DB

I'm planning to change my database from MS Access to an SQL database. So, what do i have to change in my code for that?Is it possible to have multiple tables in SQL which are linked to each other?Are there pro's and contra's ?

View Replies View Related

YES/NO In Access DB

I made a little app that selects data from a database depending whether there is a NO, in the YES/NO column. The data is exported to a txt file with aso. What i'm wondering is, is after the data has been downloaded to that txt file, how to write to the database saying all they were marked NO, go to YES.

View Replies View Related

ASP, XML, MS Access.

I have never dealt with XML before, So this is way out of my realms...

I am trying to get a XML feed into an Access Database..

The XML source can be found here:-

but as you can see.. there is another problem.. the file is in a .GZ format.. so i need some way of Un-Zipping it onto my web host, and then importing the XML data into the database..

Ive looked around, and the only information i can find is un-zipping it onto a local machine, and then uploading the XML file.. but that's not practical.. i don't want my web page to be dependant on my PC at home being logged on...

As for the import of the XML to Access... that's another black hole there.. ive never done anything like this before..

View Replies View Related

ASP & Access

I'm still very much on the learning curve when it comes to writing ASPs and have always used Access for my db. A colleague in work has told me that I should never use access on a commercial site where I'm likely to get a lot of traffic. Is this correct, is Access totally unsuitable?

View Replies View Related

ASP, Access XP

Alright, I am opening an Access XP database via ASP. One of the fields is a numerical field, and I would like to force it to display the number + 1 digit to the right of the decimal. For some reason it is only displaying digits to the left.
In Design View, my Access Table (names 'arlist') looks like this:
Field Name: level, Data Type: Number, Field Size: Integer, Format: Fixed, Deciaml Places: 1

My SQL Statement: SELECT * FROM arlist;

Then the VBScript I'm using to access the table looks like this:
Response.Write"<TD align=""right"" bgcolor=""" & strBG & """ width=""10%""><P class=""body"">" & rsDC.Fields("level") & "</TD>" & vbCRLF

I am opening the table via ADO Statically with a Read-Only pointer because the page just displays the contents of the table. I've tried everything I can think of to preserve the decimal place. If I view the table in Access, the decimal places are correct.

View Replies View Related

Asp & Ms Access

I'm trying to connect an access database to a asp page, but whatever i do, it just doesn't work. Code:

View Replies View Related

UTF-8, Access And ASP

How to I get MS Access to return unicode string in ASP? It returns?

View Replies View Related

ASP / Access

I have got a display page where im displaying Company ID Company Names with Their Products Added
The data im extracting from the access DB
The thing is as im adding a lot of products for a each company so im adding them in a loop in my Products table
so each time i add a new product with the particular company id the the id gets repated as its in the loop as well and thus each time a new record is being genarated
what i want to achieve is that on a display page where i want to see the data that has been added i just want to get the Company ID not repated and with all the products related to that company id and then the next Id with the products
like ive got 20 products for a company ID 1 so i just want to show that company ID once and with all the 20 products and then go on for the next company ID
how will u do this
do i have to use the distinct thing or do i have to open another recordset and match the id

View Replies View Related

Asp With Access

how can i provide the password for the database access using asp
note that i'm using the recordset object

set dbrs=server.createObject("ADODB.Recordset")
dbrs.open "select *from table_name ","DSN",0,3

and i don't like 2 use the connection object

View Replies View Related







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