Protecting A Page Within A Forum

Nov 13, 2009

I made a form, but I don't want just anyone to be able to use it. So I was wondering if it was possible for the page to check if they were logged into my forum.

View 1 Replies


ADVERTISEMENT

In-Text Script Creation - Scan My Forum Page And Underline Words On That Page That Are Articles On The Wiki

Jun 23, 2011

I have a forum with over 5000 topics (lots of content in each topic) and I have a wiki-website with over 4000 articles. Both share the same database and are similar in context.

Now, I was wondering if there is a JavaScript out there that can could scan my forum page and underline words on that page that are articles on the wiki. For instance, if I have an article in the wiki entitled "Heart", where ever "Heart" appears in the forum, it is underlined and linked to that exact article on the wiki.

This conceptual idea is very similar to In-Text advertisements, such as Kontera, but I can't seem to find the scripting they use.

View 2 Replies View Related

Password Protecting A JavaScript

Sep 16, 2007

Is it possible to password protect a javascript and still have it work?

View 4 Replies View Related

Protecting Scripts And Styles

Sep 5, 2002

The following method should prevent users of client computer to access script and style code using the following techniques:

- View (Page) Source - either through right-click, menu or shortcut key
- Save As...
- Temporary Internet Files Folder

The suggested method uses server side scripting and is implemented using ASP.

Your HTML file:

<html>
<head>
...
<script type="text/JavaScript">
scriptsString=&#392;,6,5'
</script>
<script type="text/JavaScript" src="ScriptLoader.js" ></script>
....


ScriptLoader.js listing:

scripts=document.createElement('script');
scripts.src='ScriptLoader.asp?Scripts=' + scriptsString;
document.getElementsByTagName('head')[0].appendChild(scripts);


Action is in ScriptLoader.asp

<%@ Language=VBScript EnableSessionState=False %>
<%Option Explicit%>
<% Response.Buffer = True
Response.Expires = 0 'Prevents caching of the content
%>
<%
Dim strScripts
Dim ipsp, iFNum
Dim fso, file
Dim strReferer
Dim bRM = False

Dim Scripts(13)
Scripts(0) = "Script1.js"
...
Scripts(13) = "Script13.js"


strReferer=Request.ServerVariables("HTTP_REFERER")
'compare referer to the address of the page that uses the
'scripts and continue only if matches. This will allow access
'only by your file

strScripts=Request.QueryString("Scripts")
set fso = Server.Createobject("Scripting.FileSystemObject")

While Len(strScripts) > 0
ipsp = InStr(1,strScripts,",")
If ipsp = 0 Then
iFNum=CInt(strScripts)
strScripts=""
Else
iFNum=CInt(Left(strScripts,ipsp-1))
strScripts = Right(strScripts, Len(strScripts) - ipsp)
End If
set file = fso.opentextfile(Server.MapPath(Scripts(iFNum)), 1)
Response.Write(file.ReadAll)
file.close
set file = nothing

Wend

set fso = nothing

%>

Hope this will extinguish some of the code protection debates. If you see holes in the suggested approach let me know. It still does not protect from net traffic sniffers ....

View 3 Replies View Related

Protecting Images From Download ?

Mar 4, 2009

I website I've seen recently uses a clever technique, which I'm still working to figure out. When you go to view an image, a pop-up window opens -- the image is downloaded (non-cached) and then some javascript (presumably) loads a replacement image in its place (it's not displayed) -- when you go to save it, you get the dummy image.

Further, they make some javascript call (presumably, or jquery) to replace the document content of that page, so when you do a View Source, you get something totally different.

How this is actually working, and whether something like that could be cross-browser supported.

View 8 Replies View Related

Protecting Template From Piracy

Apr 9, 2009

I have designed a template for a script in html and planning to sell it, but i am too concerned with piracy because i need money urgently for my further studies and piracy will ruin it,

So is there anyway you can suggest from protecting it?

The 1 way i have in mind is the first time the template loads it send the domain name using the template to my site and automatically placing a php file in another directory so that if i find the user malicious (using the pirated copy) i can disable the template and request him to buy a legitimate copy.

And can that javascript be divided into parts? like 1 part in header another in body and so on, so that it is hard to find the code.

I know there is no 100% full proof way of securing but having done little from our side can also help us avoid few pirate's .

View 9 Replies View Related

Password Protecting A Shadowbox Function

Aug 23, 2009

So the page is [url]

If you click on 'Tide' you can see the password prompt appears. But the problem I am having is that even if you press cancel or do the wrong password a few times it still open up the shadow box.

This is the script for the password protection

This is an example of how a working (non shadowbox) version works successfully.

[url]

View 1 Replies View Related

Protecting Email Address From Spammers?

Jan 8, 2011

I am trying to prevent an email address from being spammed as spammers use spidering tools to scan the internet for exposed email addresses in plain text.

I am using a technique and I'm not sure whether it will deter spam bots.

I have an external Javascript file with the following variables:

var usr = "mark";
var at = "@";
var domain = "fullmarksdrivingschool.co.uk";

[Code].....

When I open the web page in a browser the email address displays correctly but does this technique work to prevent spammers from indexing the email address?

View 3 Replies View Related

Password Protecting A Folder On UNIX-based Website

Jul 23, 2005

I'm working on a project that requires files to be password
protected on a UNIX based site. The people that own the web site want
to be able to change the password every so often. Unfortunately, I
have restricted access only to FTP so I really can't log in to any kind
of Administrative Console or Admin Panel and see if there are folders
that can be password protected and then have passwords changed on them.
The people I'm contracted to work on the site for aren't the most
computer savvy people though....so..my question is:

Is there a user friendly way of password protecting a folder on a UNIX
based site?

View 3 Replies View Related

Wasp:protecting Web Application Using Positive Tainting And Syntax Awa?

Feb 2, 2009

i want algorithm for positive tainting and syntax aware evaluation

View 1 Replies View Related

How To Make A Forum

Apr 27, 2010

I need to know JavaScript and how to make a forum.

View 3 Replies View Related

Forum System From Php Using Iframes?

Dec 15, 2011

I have both the java script and the php files, i just need to intergrate them into eachother to display the different topics and forums:

New Forum:

index.php :

<?php
include('../includes/db_connect.php');
include('../includes/inc-logincheck.php');

[code]....

View 4 Replies View Related

Build A Forum Using HTML?

Mar 15, 2010

Is it possible to build a forum using Java-Script and HTML??

View 3 Replies View Related

Hash Change On Forum

May 9, 2011

I need to change the way a form on my page works. As currently when you enter in the form information and hit send, you get sent to another page that loads up for testing purposes a basic 'message sent' message. I want the HTML page to load within the ID#Contact which is stylized with a width and a height. I've been directed to the following procedure but I don't know how to make it come together.

jQuery.post() jQuery API
.load() jQuery API
.ready() jQuery API

View 24 Replies View Related

JQuery :: Forum Styling Not Working?

Oct 19, 2009

I'm trying to style a form using jquery, but it's not working, specifically the replacement of the (required) text with * or **. what is wrong with my code:

[URL]

// JavaScript Document
$(document).ready(function(){
$('legend').wrapInner('<span></span>');
});

[Code]....

View 2 Replies View Related

Have A Post In The MySql Forum Need It Moved?

Mar 10, 2011

How can I get this moved over the the JavaScript forum? The issue I am having is with the JavaScript not with the Sql database.http://www.codingforums.com/showthread.php?t=220870

View 1 Replies View Related

Copy Forum Text Into Same Window?

Mar 4, 2009

I am relatively new to JavaScript. I copied my coding below. I have the code doing everything I want except when I execute the function the text gets copied into a new window. What I would like is for the text from the forms to be copied into the same window that the form is on.

<div id="formbox2">
<form id="form2">
Commentsbr>
<textarea rows="5" cols="20">

View 4 Replies View Related

Resize Images In A Forum Post?

Dec 9, 2009

Resize images that are more than a maximum size limit... through javascript..

View 1 Replies View Related

JQuery :: Post Not Showing Up On Getting Started Forum

Oct 20, 2010

jQuery fileTree would like to display only {.php, .txt, .etc} files on the "Getting Started" forum and it still is not showing up on the list.

View 2 Replies View Related

Make Perl Code From Forum Post?

Apr 16, 2009

here is my perl code from forum post[URL]

#start for todays date
my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime (time);
my $day = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",

[code]....

View 2 Replies View Related

JQuery :: Mega Menu Not Working On Forum?

Jan 18, 2010

I am having an issue using the Cut & Paste jQuery Mega Menu [URL].. I am using it on the main page of my future forum (test forum is here [URL].. It's the button labeled 'Forum Categories'). The mega menu works fine on the main page of the forum, but once I drill down into the forums, the mega menu no longer works. The mega menu ONLY works on the index of the forum.

View 17 Replies View Related

Use Forum Sites And Get Logged Out Every Few Minutes/seconds?

Nov 15, 2010

I've been having problems with web browsing that I think may be related to Javascript.I use forum sites like and there I get logged out every few minutes/seconds I've found that clearing my cache regularly seems to help a little, but it doesn't fix the problem. Other forum/avatar sites like Solia and Zaffcast don't work properly either, Solia was the site that first alerted me that my javascript may not be enabled. Since then, I have seen other sites that also require javascript that say that my Javascript is not enabled.I'm using Firefox, and my Javascript is certainly enabled in tools> options> content. I'm also having the same problems in IE, Opera and Safari (I haven't tried Chrome yet).I've done some javascript tests and it is working, but evidently not properly.There is another thing that confuses me, it's the fact that if I use my phone as a modem, I don't have this problem. So could it have something to do with my internet connection?

View 6 Replies View Related

JQuery :: Mill TableFilter - Where To Find A Docu/forum?

Oct 28, 2009

does anybody know, where i can find a docu or a forum for this jquery Plugin:[URL]... I'm searching for a way to exclude some of the columns from the filtering - i just dont want the possibillity to filter these columns and i guess there must be a kind of optioni for this case..

View 1 Replies View Related

Calculator With Checkboxes And Some Js Does Not Work In FF [Moved From Java Forum]

Aug 27, 2009

have a simple calculator i made with checkboxes and some Js. the problem is that it does not work in FF.

[Code]...

View 2 Replies View Related

Recalling Data For Count On Click [Moved From Java Forum]?

Sep 9, 2009

I'm having some trouble figuring out how to fully configure my count on click code for my site. Right now, the function is that whenever a user clicks on a piece of text, the number next to it increases by one. The basic code as of yet is as follows:

Code:
<script type="text/javascript">
function add_to_mycounter(){

[code].....

View 2 Replies View Related

Hiding Email Addresses & Phone Numbers In Forum Application?

Jun 10, 2010

I tried searching for this but couldn't find anything that looked correct (Although, I might not have a clue what I'm actually looking at!) I have a fairly simple forum system running as part of my site as part of the member system memberkit. I would like the forum to be public - members can post to the forum, and the public can post to the forum by putting in a name and email address.....

but....I would like some simple code to either block out, xxxx out, or remove entirely email address and phone numbers from forum visitors that are not members. I'd really like to show a gray block over the phone or email address that says "please login to view this information"

Now as part fo the system, I do have IFEQ tags available to determine if the user is a member or not, so I've got somethnig to execute the code on, but I just don't know what the code needs to be.

I've seen this done on other forums before for links and such, I'm just not sure how to do it. I'm guessing it would need to read the whole post message and look for certain strings of characters, etc. [URL]...

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved