Blocking Download The Database
when we type the path of the access database on the address bar it will be downloaded, how can we block that .
View Replieswhen we type the path of the access database on the address bar it will be downloaded, how can we block that .
View RepliesWhat I want to do is this via asp
a. Store file in database (I can do this)
b. Filter for a record (I can do this)
When page loads, I'd like to c. Have that record display on web page and have user be able to download the file (BLOb) in this record via a link.
how to download files from database to a certain path. using asp and sql server 7
View Replies View Relatedis it possible to download binary files from database(sql).. ?
View Replies View RelatedOn my site holypal.com got about 100 ips of users from nigeria spamming, the coder installed a ban ip feature and I banned them one by one manually through admin panel, but then more are coming. Most of my members are from the us, also banning/blocking ips daily is a hassle as it goes to the mssql database and is blcoked from there, how to block all countries like nigeria and ivory coast at once.
oh my site is using easycgi windows host, so I can not configure the server. so I didn't know if I can use .htaccess ?
we have a intranet project that we intend to develope ,basicly we like to prevent the users to logins with the same username to the system multiple times , now i really don't know what would be the best methods to control the users ( sessions , coockie , mac adderess ) , so i was thinking to open a mac address column inside the users table and limite the user by mac address machine ?
View Replies View RelatedIs there a way to block an IP from entering a website on IIS? I do not have MOD-Rewrite and I have been told not to do this wih a PHP script. IS there a way in IIS?
View Replies View RelatedDoes anyone know of a way to disallow a user to refresh a certain page? I ask because I have a page that duplicates itself when it is refreshed and would prefer to not allow the user to refresh at all.
View Replies View RelatedHow do I block referring sites in ASP using VBScript?Like blocking referrer's from:
192.025.215.001
and
altavista.com
The client I'm working for has an internal website and an external website. They would like to combine the two into a single website. Basically, we own an IP domain and any requests to the site from an internal source will be made by a client with said domain. So I would like some content on the pages and some directories to block access if the requester does not have the correct ip.
They're running Windows Server 2K3 with ASP enabled. Now, I've already done something like this with php and .htaccess (basically I block any page content with php and block directory access, listing etc with .htaccess) but I'm really not sure how to go about it with this Microsoft stuff.
I have a form on an .html page that I have a visitor submit the results from which redirects to an ASP script. The problem is the visitors are viewing the source of the page and going directly to the .asp file instead of filling out the form.
I'm trying to use the following script so the page can only be accessed if the user is sent from the form. If they try to access it directly, it will send them back to the page with the form. Here is what I'm using, but it keeps blocking access to the page wheter the form is filled out, or access directly:
If Request.Form("email") <> "Yes" Then
Response.Redirect "http://www.domain.com/form.asp"
End If
I run a web site that uses various forms to send email to customers. For example, I have a "Forgot your password?" script and a "Email this page" script.I've found out that when a user sends an email via my site to a Hotmail address, the email just "disappears." I'm assuming Hotmail is considering the email SPAM because it was send by my web server? The site uses ASP and I've tried using CDONTS and CDOSYS (which I specified a SMTP server for) and nothing seems to work for Hotmail.
A large portion of my customers user Hotmail, so banning it really isn't an option.Is there anything I can do to prevent Hotmail from blocking my site's emails?
I recently built an application using an Access database. The application works fine, but for some reason I am unable to FTP the database file back to my machine from the server... the operation simply times out halfway into the transfer.
Has anyone ever encountered this issue? I don't know if maybe some renegade connection wasn't closed, but I kinda doubt that's the case.
Is there even a way I can check what connections to the DB are open?
I am trying to download files from one website to another for purposes
of caching. In trying to do this, I created a VB dll component (using
VB6), that used URLDownloadToFile, to allow me to download the file
onto the receiving site. The sending site supports an ASP page that
allows the file to be downloaded.The component works fine when run in debugging mode, placing the file as expected. But when not debugging (but registered), it reports that
the file has been downloaded, but the file is not there.
I am looking for some VB Script tutorials possibly as a pdf file that one can download and take print out of as one single file. I can see a lot of VB Script tutorials on the net but not offered as a single PDF file all in html format and explained on different pages.
View Replies View Relatedwhere I can download PWS Personal Web Server,or IIS from,ideally for as little cost as possible?I have XP Pro, but I've tried typing "inetmgr" in the Run field in Start Menu but it says it can't find inetmgr,and there is no IIS or PWS in my Program menus or submenus on my machine that I can see.
I had heard my XP Pro may have come with IIS but this doesn't seem to be the case with my pc. I have IIS on my server at work which has Windows 2000.Is it possible to copy an .exe install application of somekind which would be used to install IIS on another machine? What would the .exe file be called and where would it be located?
Is there a reference document for ASP (not ASP.NET) which can be downloaded? Perhaps an SDK? Where could I find this?
View Replies View RelatedI have created a script which connects to a SQL DB, runs a query, writes the results out to a file (Using FSO) then presents the user with a link to download the CSV. As the file contains sensitive data, I dont want to leave the file on the server, and I dont want to rely on the user to delete the file after every export.
View Replies View RelatedLooking for download asp script or java script for my zip files but without user know the location of the file/folder and can only log to this page from my authorized page.
View Replies View RelatedDoes any one know if there a ASP editor available that I can download as a trial version or free lisence?
View Replies View RelatedI have this javascript photo album i made. It is all working in tables and such. When you roll over a certain cell it will show that picture above, and turn the cell a different color. I also made the cell "clickable" when they are on it.
Is there anyway i can get it to when someone clicks that cell, that it will download that picture?? I have looked everywhere but i have not see anythign that will allow me to do that.
I'm using ADODB objects to download the images. Is there any way I can disable 'Save' option on a prompt. Also, when display the image (it could be any of the following files: .doc, xls, txt, pdf...), I need to disable 'Save' option or hide the toolbar.
View Replies View RelatedI don't know if this is possible, but does anybody know whether you can determine how long a file took to download. I want to be able to log how long a download took.
View Replies View RelatedMy problem is: i need to write an ASP page which first checks whether
the user has permissions to download a ZIP file, and then streams the
file itself if the user is allowed to see it.
I have succeeded until
this point, but the client browser asks to save the file with the
original filename (and ASP extension). Obviously this would mean
making the downloaded file unusable at client side, unless I tell the
site user to manually rename it, but this is not a solution.
So I ask you: is there any way for an ASP page to stream data to the
browser and have it saved with a default file name and extension which
are different from the page's ones? Code:
I'm having a problem with a script that makes the browser download a PDF instead of opening it.But when the file is downloaded, it downloads nothing.
The code is:
[vbs]
Set FSO = server.createobject("Scripting.FileSystemObject")
FileThere = FSO.FileExists(server.mapPath(request.querystring("f")))
If FileThere then
Response.AddHeader "Content-Disposition", "attachment;filename=" & request.querystring("f")
Response.ContentType = "application/pdf"
else
response.write("Sorry, file could not be found")
end if
Set FSO = nothing
[/vbs]
let me know and I'll pm you the address for it.
I need to show how long a given file size will download.
View Replies View RelatedWe have to provide a facility on the client machines to download the data
visible on a ASP page into an excel sheet. We are using WIN2k clients
connected to WIN2k server with IE6.0 installed.
The way we plan to implement it is that :
a) provide a right click and download to excel button from the ASP page
visible in IE.
b) on click of download make a server call passing the appropriate command
to send back the data in excel format.
My questions are :
Q1) Is there anyway to avoid the server call? I am not looking for OCX
either?
Q2) Are there any issues to do with memory leaks / deadlocks in case we use
such office automation to generate a report in excel? Is there a way around?
I have an example running at the moment that shares some 15,000 MP3 files however to offer these as downloadable i would be breaking the law i think !
I would like to set it up so that i have a method where the user can build a play list by going through the files and selecting them and then they would would be played either through the clients own system applications or through media components i can build into the site.
Maybe i could have some controls on there.
also why does the script not like to display files with the .ISO file extention ?
I want to make a support-page where people can download the latest help-files (these will be in a database) but I don't know how to do this (I only know the basics of ASP).
I don't mean that, for example a pdf, should open in another window. When you click on the filename it should give the standard downoad-box 'Open', 'Save', 'Cancel'.
Does anyone know how to do this? Or maybe there is some code on the net that explains it.
Downloaded the sendMail.htm and sendMail.asp sample files
from technet onto my IIS 4.0 server. The first 2-3 times
I tested all went well. Subsequent tests, with no server
changes, gave/gives me the "File Download" dialogue box
when the sendMail.asp file should be executing. Why does
sendMail.asp give a "File Download" box instead of just
executing?
While my wwwroot is under C:inetput, how can I make URL pointing to the
downloadable files on D:downloadmyfile?
Do I have to use download COM? If yes, which one is recommended for free?
I need to have script that automatic download files (open a "save file
dialog box") based on a variable (value in the URL).
Example:
files.asp?file=1 shall automaticly download file1.mp3 (open a dialogbox for
saving file1.mp3)
files.asp?file=2 shall automaticly download file2.mp3 (open a dialogbox for
saving file2.mp3)
I am in need of allowing permissioned users of a particular web app using ASP to query a table and then allow them to download an excel formatted version of the data they can use offline.
View Replies View Related