Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 8th Jan 2014, 11:10 AM   #1
Marketing Since 1996
War Room Member
 
Join Date: 2008
Location: , , .
Posts: 317
Thanks: 57
Thanked 10 Times in 10 Posts
Default
I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

I would like to run some standalone online tools inside WordPress page. For example I'm having online page-rank checker script and i want to give an access only to my blog subscribers. How to do that?

In other words;

The Script works as stands alone with an independent database which is not related to WordPress, WordPress + s2member plugin is using to create a members area ( payment wall / subscription access ) . Actually there is no interaction between the wordpress and these tools . if you having other option then s2member / Amember & wordpress that help me to build a solid member site i'll be happy to hearing

* The member Area act as pay wall and intended to protect online tools no video or content ...

Thanks

Yossi
clalit is offline  
Unread 8th Jan 2014, 11:57 AM   #2
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

You can convert the script to a plugin and display it, I would recommend that. A quick shortcut will be to display the script on the page in an iframe.

shahriyar is offline  
The Following User Says Thank You to shahriyar For This Useful Post:
Unread 8th Jan 2014, 01:02 PM   #3
Marketing Since 1996
War Room Member
 
Join Date: 2008
Location: , , .
Posts: 317
Thanks: 57
Thanked 10 Times in 10 Posts
Default
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by shahriyar View Post

You can convert the script to a plugin and display it, I would recommend that. A quick shortcut will be to display the script on the page in an iframe.
First Thanks !

I just wanted to wrote that using Iframe might explore the tool's url when someone is looking inside the page source and then i realize that only payment subscriber have the ability to access that page ..... :-)
Another question -- does Iframe "eating" the server resources ?
clalit is offline  
Unread 8th Jan 2014, 01:10 PM   #4
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

"does Iframe "eating" the server resources ? "

iframe or without iframe, if the script is hosted on your server, its will use your server's resources.iframe is not significant in terms of using resources.

If you want to use user's or member's resources you will need a Javascript (preferably ajax basd) based script so it will the user's resources (IP address, memory etc.)

shahriyar is offline  
The Following User Says Thank You to shahriyar For This Useful Post:
Unread 8th Jan 2014, 01:11 PM   #5
Marketing Since 1996
War Room Member
 
Join Date: 2008
Location: , , .
Posts: 317
Thanks: 57
Thanked 10 Times in 10 Posts
Default
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by clalit View Post

First Thanks !

I just wanted to wrote that using Iframe might explore the tool's url when someone is looking inside the page source and then i realize that only payment subscriber have the ability to access that page ..... :-)
Another question -- does Iframe "eating" the server resources ?
But....
Someone that paid could see the source and then copy these links and using them directly after his subscription had finish

So its not solve the problem unless the code / iframe source is Encrypted
clalit is offline  
Unread 8th Jan 2014, 01:15 PM   #6
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by clalit View Post

But....
Someone that paid could see the source and then copy these links and using them directly after his subscription had finish

So its not solve the problem unless the code / iframe source is Encrypted
Yes, correct. So, you should integrate the script with the WP membership feature. Basically, at the top of your script you should check if the user has a valid membership or not.

shahriyar is offline  
Unread 8th Jan 2014, 01:20 PM   #7
Marketing Since 1996
War Room Member
 
Join Date: 2008
Location: , , .
Posts: 317
Thanks: 57
Thanked 10 Times in 10 Posts
Default
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by clalit View Post

First Thanks !

I just wanted to wrote that using Iframe might explore the tool's url when someone is looking inside the page source and then i realize that only payment subscriber have the ability to access that page ..... :-)
Another question -- does Iframe "eating" the server resources ?
Originally Posted by shahriyar View Post

Yes, correct. So, you should integrate the script with the WP membership feature. Basically, at the top of your script you should check if the user has a valid membership or not.
Or i could Encrypt the page source...
clalit is offline  
Unread 8th Jan 2014, 01:31 PM   #8
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by clalit View Post

Or i could Encrypt the page source...
Encrypting page source won't help, because the user is not seeing the PHP source, he is getting the HTML page where he can use the tool.

So whether you encrypt PHP or anything else, he will be able to use the tool unless you validate the membership.

shahriyar is offline  
Unread 8th Jan 2014, 01:38 PM   #9
Marketing Since 1996
War Room Member
 
Join Date: 2008
Location: , , .
Posts: 317
Thanks: 57
Thanked 10 Times in 10 Posts
Default
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by shahriyar View Post

Encrypting page source won't help, because the user is not seeing the PHP source, he is getting the HTML page where he can use the tool.

So whether you encrypt PHP or anything else, he will be able to use the tool unless you validate the membership.
BUT when i need to "validate the membership" its converting the concept from independing tools into "part of the site" related tools
clalit is offline  
Unread 8th Jan 2014, 01:46 PM   #10
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by clalit View Post

BUT when i need to "validate the membership" its converting the concept from independing tools into "part of the site" related tools
Yes, true. For this purpose, in terms of better security I think its better to integrate the software (at least validate membership) with wordpress to some extent. Otherwise, users can always steal your tool's link and spread it over the net.

Another trick would be to use something like this, whenever user logs into the member's area, set a special cookie e.g inmemberarea = 1. Since the iframe tool is in the same domain, that script will be able to access it as well. So, in the tool's script check if the cookie is set (which means the user has logged in the members area), if set load the tool, if not, do not load the tool. This is much simpler solution, but not fully fool-proof.

shahriyar is offline  
The Following User Says Thank You to shahriyar For This Useful Post:
Unread 8th Jan 2014, 02:16 PM   #11
Marketing Since 1996
War Room Member
 
Join Date: 2008
Location: , , .
Posts: 317
Thanks: 57
Thanked 10 Times in 10 Posts
Default
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by shahriyar View Post

Yes, true. For this purpose, in terms of better security I think its better to integrate the software (at least validate membership) with wordpress to some extent. Otherwise, users can always steal your tool's link and spread it over the net.

Another trick would be to use something like this, whenever user logs into the member's area, set a special cookie e.g inmemberarea = 1. Since the iframe tool is in the same domain, that script will be able to access it as well. So, in the tool's script check if the cookie is set (which means the user has logged in the members area), if set load the tool, if not, do not load the tool. This is much simpler solution, but not fully fool-proof.
OR :-)

Using internal redirect to mask the actual url
So then if someone want to copy the iframe url - its actually copy the redirect url - that url is part of the site and therefore protected ...
clalit is offline  
The Following User Says Thank You to clalit For This Useful Post:
Unread 8th Jan 2014, 08:47 PM   #12
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: I would like to run some standalone online tools inside WordPress page
Share on: 
fb share twitter share gplus share more share

Originally Posted by clalit View Post

OR :-)

Using internal redirect to mask the actual url
So then if someone want to copy the iframe url - its actually copy the redirect url - that url is part of the site and therefore protected ...
If the redirect URL is protected (i.e. part of the membership area), it should work as well.

shahriyar is offline  
Closed Thread


Bookmarks

Tags
inside, online, page, run, standalone, tools, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:19 AM.