473,602 Members | 2,775 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 1433
> 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
3320
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
1549
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
2818
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
7392
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
3284
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
1723
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
2918
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
29851
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
8404
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...
0
8270
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
6730
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
5870
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
5440
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
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2424
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
1
1511
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1256
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.