Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am new to os commerce and I am trying to apply the suggested security fixes.

I do not know where to start for Ip trap as the file is an index.php file, so I don't know where to put it.

Does it just go into my root direcotry for website or somewhere else?

 

Thanks

Gary

Posted

What does it say in the installation instructions or read.me file?

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

UPdate to the personal / index.php

 

Got rid of some variables that were duplicated and tidied up and simplified the code.

 

To use; download, add your information to lines 15, 50 & 52 then upload to your personal folder.

 

If you do not want users to call your white list or banned list add this to your .htaccess file (in your root or catalog folder)

 

 

SetEnvIfNoCase Request_URI IP_Trapped\.txt ban

<Files ~ "^.*$">

order allow,deny

allow from all

deny from env=ban

</Files>

 

For an extra protection, if you have renamed your admin folder (sure you have ;-))

instead of personal rename it to admin and catch the snoopers trying to view your admin side too.

 

 

I have made the code changes but what is my persolanl folder?

Posted

make a new folder called Personal and add the file to it.

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Gary,

 

 

The installation instructions are very clear. It is one of the simpler contributions to install. Just follow the instructions carefully.

 

 

 

Chris

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...