473,804 Members | 3,312 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Script Required: Blocking Back Doors


Hi
I dont know how to program Javascript, but I am a web designer. I a
looking for an easy-to-use script (for a beginner) which i can use t
stop users from accessing my website using what I call (i dont know i
ive got the right term) "Back Doors": so that users cannot access m
pages without going through a pwd protected "front entrance".

e.g. my website is www.johnsmith.com and it has password protection o
the index.html file, to get to the homepage (home.html), which ha
links to the rest of the site. However, if someone goes straight to th
home.html file, bypassing the index.html file, my password gate i
useless.

Is there any way to either redirect anyone who goes to ANY page/file o
my site to the index.html homepage or just to block access to any page
except via a specific link from another page?

I dont know if im in the right forum, but from my (little) experienc
Javascript is used for passwords and that kind of thing, so I wa
checking if I could get some help here.

Cheer

Anonymous
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message32622.htm

Jul 20 '05 #1
11 1449
> I dont know how to program Javascript, but I am a web designer. I am
looking for an easy-to-use script (for a beginner) which i can use to
stop users from accessing my website using what I call (i dont know if
ive got the right term) "Back Doors": so that users cannot access my
pages without going through a pwd protected "front entrance".
Not possible. As JavaScript runs client side, any such attempt is easily
bypassable.
e.g. my website is www.johnsmith.com and it has password protection on
the index.html file, to get to the homepage (home.html), which has
links to the rest of the site. However, if someone goes straight to the
home.html file, bypassing the index.html file, my password gate is
useless.
Put the password protection on all the pages, and make it real password
protection.

http://www.allmyfaqs.com/faq.pl?Password_protect
I dont know if im in the right forum, but from my (little) experience
Javascript is used for passwords and that kind of thing, so I was
checking if I could get some help here.
Javascript is not used for any real security.
------------------------------------------------------------------------
Posted via http://www.forum4designers.com


Forum4designers appear to be passing off Usenet as their own work. I suggest
avoiding them. This is news://comp.lang.javascript.

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #2
In article <Gu**********@m ail.forum4desig ners.com>,
Gu**********@ma il.forum4design ers.com enlightened us with...

Hi
I dont know how to program Javascript, but I am a web designer. I am
looking for an easy-to-use script (for a beginner) which i can use to
stop users from accessing my website using what I call (i dont know if
ive got the right term) "Back Doors": so that users cannot access my
pages without going through a pwd protected "front entrance".
Can't be done with client-side script.

e.g. my website is www.johnsmith.com
Your images are broken.
and it has password protection
on the index.html file,
I had no problems in any browser. Nothing asked for a password. A bunch
of links are broken though.
to get to the homepage (home.html),

Not Found
The requested URL /home.html was not found on this server.

------------------------------------------------------------------------
--------

Apache/1.3.14 Ben-SSL/1.41 Server at www.johnsmith.com Port 80
which has
links to the rest of the site. However, if someone goes straight to the
home.html file, bypassing the index.html file, my password gate is
useless.

Is there any way to either redirect anyone who goes to ANY page/file on
my site to the index.html homepage or just to block access to any pages
except via a specific link from another page?


You're using apache.
Use .htaccess.
Google it. That's OT here.

--
--
~kaeli~
If that phone was up your a$$, maybe you could drive a
little better!
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #3
rf

"David Dorward" <do*****@yahoo. com> wrote in message
news:bu******** ***********@new s.demon.co.uk.. .
------------------------------------------------------------------------
Posted via http://www.forum4designers.com
Forum4designers appear to be passing off Usenet as their own work. I

suggest avoiding them. This is news://comp.lang.javascript.


See the threads hapenning about this over in alt.html.critiq ue.

They are even stealing stuff from the microsoft heirarchy.

Cheers
Richard.
Jul 20 '05 #4
"rf" <ma**********@t he.time> wrote in message
news:po******** *********@news-server.bigpond. net.au...

"David Dorward" <do*****@yahoo. com> wrote in message
news:bu******* ************@ne ws.demon.co.uk. ..
-------------------------------------------------------------------- ----Posted via http://www.forum4designers.com
Forum4designe rs appear to be passing off Usenet
as their own work. I suggest avoiding them.
This is news://comp.lang.javascript.


Apart from the misrepresentati on of the content of the
www.forum4designers.com site as a service that they are providing rather
than admitting that it all originates in Usenet newsgroups,
www.forum4designers.com is also a very bad place to read
comp.lang.javas cript as they are re-formatting the content of the
newsgroup posts and loosing all of the indentation in the presented
code.

Generally the regular posters to this group put quite a bit of effort
into presenting well-formatted code, indented to make its structure
apparent to the reader. They also (seemingly universally) promote the
consistent indentation of code blocks as a "best practice" in code
authoring.

But the way that comp.lang.javas cript is being presented on the
www.forum4designers.com site makes it look like starting each line of
code at the left margin is common, acceptable and normal practice. (Or
givies the impression that all the code presented on the group was
authored by amateurs who don't understand haw code should be written.)

I am also not very happy to see:-

<quote cite="http://www.forum4desig ners.com/forum22.html">
Forum Rules:
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts
<quote>

-at the foot their pages as they are not the guidelines for positing in
this group and may give users of the site the impression that they can
disregard section 2.3 of the FAQ.
See the threads hapenning about this over in alt.html.critiq ue.

<snip>

I like the way that alt.html and alt.html.critiq ue appear to have
decided to react. I wonder how long they will keep it up. :)

Richard.
Jul 20 '05 #5
JRS: In article <bu************ *******@news.de mon.co.uk>, seen in
news:comp.lang. javascript, Richard Cornford
<Ri*****@litote s.demon.co.uk> posted at Sat, 17 Jan 2004 11:52:58 :-
"rf" <ma**********@t he.time> wrote in message
news:po******* **********@news-server.bigpond. net.au...

"David Dorward" <do*****@yahoo. com> wrote in message
news:bu****** *************@n ews.demon.co.uk ...
------------------------------------------------------------------------Posted via http://www.forum4designers.com

Forum4design ers appear to be passing off Usenet
as their own work. I suggest avoiding them.
This is news://comp.lang.javascript.


Apart from the misrepresentati on of the content of the
www.forum4designers.com site as a service that they are providing rather
than admitting that it all originates in Usenet newsgroups,
www.forum4designers.com is also a very bad place to read
comp.lang.java script as they are re-formatting the content of the
newsgroup posts and loosing all of the indentation in the presented
code.


I wonder if I can guess roughly where they are located ... it appears to
be misuse of resources belonging to others, combined with breach of
copyright law, both local and international.

Partial ostracism is probably the best we can do, unless complaining to
giganews is effective.

By that I mean not answering questions posted via that route, and
pointing out errors in replies but not giving corrected versions.

Breaches of c.l.j agreed etiquette, disregarding Uno Hoo's weirdnesses,
should however be pointed out on a regular basis.

Perhaps there is room in the c.l.j FAQ for a pointer to one or two
suitable news servers / services? Since the FAQ can be found by a naive
Web user Googling for a specific answer, ISTM right to indicate,
directly or indirectly, how the newsgroup should normally be accessed -
both from a real news-server, and from an honest, standards-compliant
Web service.

Stripping indentation is almost completely harmless in javascript,
except where it is intended that it should be read by persons. But in
plain text, which can have tables laid out by indentation, it can easily
corrupt meaning. And News is a plain text medium.

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 20 '05 #6
rf

"Richard Cornford" <Ri*****@litote s.demon.co.uk> wrote in message
news:bu******** ***********@new s.demon.co.uk.. .
"rf" <ma**********@t he.time> wrote in message
news:po******** *********@news-server.bigpond. net.au...

"David Dorward" <do*****@yahoo. com> wrote in message
news:bu******* ************@ne ws.demon.co.uk. ..
-------------------------------------------------------------------- ----Posted via http://www.forum4designers.com

Forum4designe rs appear to be passing off Usenet
as their own work. I suggest avoiding them.
This is news://comp.lang.javascript.

See the threads hapenning about this over in alt.html.critiq ue.

<snip>

I like the way that alt.html and alt.html.critiq ue appear to have
decided to react. I wonder how long they will keep it up. :)


Nopefully until they either go away or they openly acknowledge that they are
merely a web base newsreader (*).

(*) Properly constructed web based newsreaders are IMNO a good thing,
google.groups in particular. Not everybody has access to a newsreader
(libraries, internet kiosks etc).

Cheers
Richard.
Jul 20 '05 #7
Richard Cornford hu kiteb:
"rf" <ma**********@t he.time> wrote in message
news:po******** *********@news-server.bigpond. net.au...

"David Dorward" <do*****@yahoo. com> wrote in message
news:bu******** ***********@new s.demon.co.uk.. .
------------------------------------------------------------------- - ---- Posted via http://www.forum4designers.com

Forum4designers appear to be passing off Usenet
as their own work. I suggest avoiding them.
This is news://comp.lang.javascript.


Apart from the misrepresentati on of the content of the
www.forum4designers.com site as a service that they are providing
rather than admitting that it all originates in Usenet newsgroups,


If everyone put a line in their sigs stating specifically that teh post
a) has nothing to do with that forum site, and b) permission to archive
teh post is specifically denied to that web site, do you think there
might be grounds for a lawsuit is they then persistently ignored the
notice?

At the least, it might make people on the forum notice something is up.

--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #8
"Fabian" <la****@hotmail .com> wrote in message
news:bu******** ****@ID-174912.news.uni-berlin.de...
<snip>
Apart from the misrepresentati on of the content of the
www.forum4designers.com site as a service that they are
providing rather than admitting that it all originates
in Usenet newsgroups,
<snip>... b) permission to archive teh post is specifically
denied to that web site, do you think there might be
grounds for a lawsuit is they then persistently
ignored the notice?

<snip>

I am not a lawyer but... well, - but nothing - I don't know. Legal
action costs money and takes time though, so do you have enough of
either going spare in order to find out?

(class action anyone?)

Richard.
Jul 20 '05 #9
"Dr John Stockton" <sp**@merlyn.de mon.co.uk> wrote in message
news:3S******** ******@merlyn.d emon.co.uk...
<snip>
Perhaps there is room in the c.l.j FAQ for a pointer to one
or two suitable news servers / services? Since the FAQ can be
found by a naive Web user Googling for a specific answer,
ISTM right to indicate, directly or indirectly, how the
newsgroup should normally be accessed - both from a real
news-server, and from an honest, standards-compliant Web
service.
groups.google.c om provide facilities for posting to Usenet (at least the
groups they archive) from a web browser. They require you provide them
with a working e-mail address, as they you activate your account by
responding to an e-mail that they send you after your application. I
could mention that possibility at the end on Section 2.11, which is
about the archives at google.groups.c om, or in Section 2.3.
Stripping indentation is almost completely harmless in
javascript, except where it is intended that it should
be read by persons.
Yes, the interpreter doesn't care much about whitespace so indentation
does not effect execution (much as it doesn't effect C++ or Java) but
posted code is certainly intended to be understood by humans, and
usually formatted with that in mind.
But in plain text, which can have tables laid out by
indentation, it can easily corrupt meaning. And News
is a plain text medium.


We see more code than tables but they will be subject to the same
problem. Along with asci art diagrams and the like.

Richard.
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3325
by: Web Master | last post by:
Hi, I am having a little issue with Jacks Form mail php script. I have installed it and configured the form to get it to work, but for some bizarre reason I have 2 issues I can't seem to debug. Issue#1: I get 2 copies of the form that gets submitted each time. Issue#2: The header does not display the "FROM" information in Outlook, but I can see the From information in my email spam filter
2
1553
by: Freeserve | last post by:
I am trying to write to a file using: <% Sub OpenTextFileTest Const ForReading = 1, ForWriting = 2, ForAppending = 8 Dim fso, f
11
2846
by: Wentink | last post by:
Does anybody have a simple script that let's me popup a picture from a thumbnail? The ones i found are all very very complicated and messy in the source... Thanks, Tintin
8
7418
by: Sergei | last post by:
Hi, I am displaying modal dialog and passing values from the main form to the modal dialog and back. It works fine but if I used the following syntax on Page_Load(just for testing) in VB to assign value form the object to text Box it gives error 'Object required' Dim strResponse As String strResponse = strResponse & "<script language=""JavaScript"">" & vbCrLf strResponse = strResponse & "var aForm; " & vbCrLf
3
3291
by: Bob | last post by:
Hi, I have an app that has a 3rd party phone answering control (4 of ) (interfacing with dialogic 4 line card) attached to the main form. each control raises an event when its Dialogic line detects ring tone. I use the ring detect event handler to create a new thread which is given a reference to the control that is being rung. The called method then interacts with the control until the call finishes. My problem is that I believe I am...
0
1748
by: khu84 | last post by:
Here is client server very simple code, seems to work with telnet but with with web client code gives blank output. Following is the server code:- <?php function createSocketServer($host='192.168.1.34',$port=2222) { $max_clients = 10;
4
2939
cassbiz
by: cassbiz | last post by:
Could use some help here. This script is carrying over an image just fine but the text isn't coming over. can you see why it is not working???? from the form I want to carry over two lines of text and I can't find the error on why it isn't working. Any help is greatly appreciated. Here is the form
12
29921
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
9705
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
10564
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
10320
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
10308
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
9134
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...
1
7609
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6846
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5513
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5645
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.