473,614 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I want to secure the folder songs from Unauthenticated usage

5 New Member
Hi!
i m developing a website for sell of songs all songs are place in songs folder. and at front end of website url to download shows the link of songs folder so it is threat that may be soem try to access the songs directly from folder without paying.
I Had paced a index page in those folders which redirect back to website.
But if their is some better approach then plz tell me
With Best Regards
Oct 20 '06 #1
4 1717
ronverdonk
4,258 Recognized Expert Specialist
Protect the folder with a password and let your legal user log in. The download script must only be executed then via the passed userid and password and must come from an allowed URI.

Ronald :cool:
Oct 20 '06 #2
vssp
268 Contributor
use htaccess file to prodect the folder

vssp
Oct 23 '06 #3
ronverdonk
4,258 Recognized Expert Specialist
Am I hearing an echo?

Ronald :cool:
Oct 23 '06 #4
Shazia Sadiq
5 New Member
use htaccess file to prodect the folder

vssp
.htaccess also block the download of songs from download links that will be given to download the song
Oct 27 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
4814
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and the other named Public. I placed my web.config file in my
2
2653
by: Con | last post by:
Hi, I'm getting the following error message in the JavaScript console: Error: mus has no properties Source File: file:///G:/temp/cafedub.htm Line: 35 Now, I would like to script to work in both IE 6 and Netscape 7. The goals of the script are as follows: o when a music image is clicked, please the associated music without
2
1063
by: Raghu Raman | last post by:
Hi we maintain the .net app in our webserver. It is assigned a public ip,so that our client could easily see and work with the project we design. simply by typing the Ip address followed by the virtual dir name ,they could open our .net app running. **
1
1388
by: bradley | last post by:
I have an \upload folder beneath the web root where I have MS Word and other documents that I would prefer not be available to the public. How can I configure web.config to prevent these files from turning up in a search engine list and prevent an unauthenticated user from typing in the url. This is a hosted site, and I can use forms or windows authentication.
0
1073
by: Keithb | last post by:
I am using the login control on my web site, which has both authenticated an unauthenticated users. I added a logout page that is supposed to allow an authenticated user to drop his authentication and resume operation as an unauthenticated user. Using the below code in my logout page, the user is taken directly to the login page immediately after logging out and has no way of returning to the home page as an unauthenticated user. ...
0
1036
by: ruffeo | last post by:
There has been alot on the web about this web.config error that happens in visual studio .net 2005. Most people think this has to do with IIS, but .net 2005 doesn't run on IIS but a developer version called ASP.net development server. The problem is caused by the web.config having the authentication section inside a subfolder or a location tag. The solution is simple make one authentication section in the main part of the root web.config,...
2
1923
by: Timbo | last post by:
Hello all, I have created a secure folder on my web server and created a user and password that can access it. So when you navigate to a page/file within this folder the login box appears. Here's my question: From a link on a form (outside the secure folder), can you send the user name and password using code to access a page/file in the secure folder, thus suppressing the login box?
3
2370
by: DBLWizard | last post by:
Howdy All, I'm fighting with IE on a secure site where I am trying to set the location of a frame from within javascript using code similar to this. sHref = "DocumentViewPDF.asp?DocumentType=<%=sDocumentType %>&Instrument=" + sInstrument; objFrameImage = window.top.frames; objFrameImage.location = sHref;
3
2747
by: zr | last post by:
Hi, Does usage of checked iterators and checked containers make code more secure? If so, can that code considered to be reasonably secure?
0
8182
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8130
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8627
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8579
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8279
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8433
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7093
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4127
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.