473,379 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Limiting access on our news submission page

Hey guys, I'm new here. Just had a question, so I want to thank you in advance for the help. I not too familiar with programming other languages than Html, dhtml, and javascript. So I figured there would be a way to do it in javascript.

I'm making a website and on the news page I would like it to be able to have a text box to upload text on to the news page but I only want 1 person to have access to upload the news events. How would I do this ?

Can you guys help me out.

Thank you,
Frechiani
Feb 1 '07 #1
8 1403
acoder
16,027 Expert Mod 8TB
Hello and welcome to The Scripts.

You will need a server-side language to restrict access. Are you not familiar with any? If you're prepared to learn one or know the basics of one, I can move the question to that forum where you can get more help.
Feb 1 '07 #2
Atli
5,058 Expert 4TB
Acoder is right.
You need something like PHP or ASP.
I reccomend php ;)
Feb 1 '07 #3
iam_clint
1,208 Expert 1GB
and i recomend asp! :P
Feb 1 '07 #4
acoder
16,027 Expert Mod 8TB
and I recommend ColdFusion!! Actually PHP's not too bad either!
Feb 1 '07 #5
senaka
23
You can validate that person using AJAX so that no body sees your validation mechanism. what you do is get that 1 guy to enter some user name and password and get it posted to another html page. inaccessible to the rest of the world... this can be done using an authentication header. so in other words if the rest of the world doesn't authenticate themselves.... they can't post.


or else another method is if your one and only guy has a fixed unique IP address you can validate his presence from that IP. Both these methods are possible using javascript only. I mean there is no need to go to server-side langs if you can do this.
Feb 1 '07 #6
Hello and welcome to The Scripts.

You will need a server-side language to restrict access. Are you not familiar with any? If you're prepared to learn one or know the basics of one, I can move the question to that forum where you can get more help.

Yes, please I would appreciate that. Whats the difference from php to asp? Is one easier than the other ? I would like to learn the basics of the less complicated one lol.

Thanks a lot
Feb 1 '07 #7
junal
22
hey i guess you can use CakePhp framework and then you can use ACL to restrict your users. i hope it will help you !
Feb 3 '07 #8
acoder
16,027 Expert Mod 8TB
Yes, please I would appreciate that. Whats the difference from php to asp? Is one easier than the other ? I would like to learn the basics of the less complicated one lol.

Thanks a lot
Have a quick look at the following tutorials:
W3Schools PHP tutorial
Php.net Simple Tutorial
W3Schools ASP tutorial
to decide which is for you.

Both languages will do the task for you. The one to choose depends on factors such as cost, speed, complexity, background.
Feb 3 '07 #9

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

Similar topics

14
by: Jeff | last post by:
Ok. I am creating a table in an access DB based on a form submission. This works fine. The problem I am having is, if there is a space in the submission. For example.... someone submits "The...
18
by: OrenFlekser | last post by:
Hi I've posted this message couple of days ago, but I can't find it now, so sorry if you see it twice... Anyways - I have a text box, and I want my users to be able to write only in english...
3
by: Mary | last post by:
I have an online form that users fill out and upon submission the data goes to an MS access database on our server. One of the fields asks for the date a student needs to take an exam. The...
0
by: htmlgeek | last post by:
I'm adding and updating records in an Access .mdb via WWW .asp page. Authored in Dreamweaver 2004 MX. Help is welcome on this one. I have a great set of pages that work fine, but it seems that...
2
by: Jo Davis | last post by:
access fe and access be. later the be might be sql server I don't want people to pass this application around. And I want control over usage. I want it to 'expire' after a while. I have fairly...
4
by: N J | last post by:
Hi, I ahve developed a program using access and am distributing it using MDE's, I ahve had many requests for a demo. I was thinking of limiting the number of records to say 100? If anyone has...
2
by: Khor | last post by:
Does anyone know to . Prevent current user to access page previous page by pressing back button after the user had logging off his/her account If the user press the back button, the web should...
6
by: Oleg Konovalov | last post by:
Hi, I have a Java/JavaScript GUI application where I perform a lot of long DB operations , which takes 5-60 secs to perform. Sometimes user double-clicks the button or just gets impatient and...
1
by: dixcyn04 | last post by:
Ok, now I've run into another little hiccup in my application. The ability to update records already in existance. What is bugging me about this, is the code I will submit was what I found on forums...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.