obfuscation


Protect AdWords Scripts


My company is attempting to protect its scripts used in Google AdWords. We want to share them with clients and other agencies, but retain proprietary control. Which may be impossible, especially in AdWords.
One idea is to use Obfuscation, however some portions of the scripts cannot be obfuscated in order to work in adwords.
Another idea is to place the entire script in a Google drive doc use Google drive as a gateway. However, this makes the scripts buggy.
We could pull out the data, run the script outside of the Google AdWords interface and pull it back in, but we lose access to certain functionality of the Adwords interface.
Any thoughts or suggestions?
Best way is running script from an external file. If you store your script in Google Drive and give permission to only the user who authorizes script. So your clients cannot reach the codes. If you pre-authorize your script, it's should be fine like:
// UrlFetchApp.fetch();
function main() {
var url = "http://example.com/asdf.js";
eval(UrlFetchApp.fetch(url).getContentText());
}
Gokaan is not too far off. I use a base loader script (sort of like a base class in code). The base (AKA script runner) is in charge of loading scripts to run from a Google Drive document. It works best if you have an MCC account because you give the base script permissions through your MCC login. That way, your client can't get to the true scripts, only to the loader (which is worthless from an IP perspective). And if they off you, you off them.
You can read more about it on Russ Savage's site, which is a great resource.
http://www.freeadwordsscripts.com/search/label/generic%20script%20runner
The only issue I have had is when you have many, many accounts trying to WRITE to a shared Google Drive document. Depending on how you write your code, you may get overwrite issues b/c you cannot set the exact time a script runs (google only promises hourly).
Since then, Google now allows parallel scripts. That is my next move - migrate the script runner to the MCC level, the script then iterates through the accounts it should apply the scripts to. Much slicker but will take some reworking.
Good luck.

Related Links

Obfuscating names with human readable names
Linux based virus / malware source code in C [closed]
Keep class methods but obfuscate packages in proguard
Mono.Cecil - obfuscated malicious code
TypeScript Obfuscation
.NET Reactor and InnoSetup
Theory of obfuscation and symbolic computation
Eazfuscator.NET error for custom build configuration
ProGuard obfuscate package name with -keeppackagenames
How to avoid that proguard obfuscates the classes annotated with #OnStart
Obfuscating URLs in WordPress
Protecting PHP CLI scripts
How to manage Spring Getters and Setters Obfuscation in yguard
How to make obfuscation + error reporting?
How to tell Proguard to obfuscate specific dead code
Obfuscate WCF Proxy Classes

Categories

HOME
adal
design-patterns
dns
oracle-apex-5
soa
switch-statement
interpolation
jetty
crystal-reports-2013
jax-ws
pattern-matching
octave
vimdiff
reactive-programming
ibeacon-android
filechannel
selenium-ide
capistrano3
red5
selinux
custom-post-type
jquery-multiselect
mql
event-flow
linkedhashmap
dsx-desktop
hreflang
biztalk-rule-engine
twos-complement
salesforce-communities
imagenet
gdata
setup.py
visa
apriori
fwrite
openal
configurationmanager
openblas
zenhub
reindex
colorbar
excel-dna
skin
cmp
mathcad
filenet
stripe-connect
uicolor
jquery-jscrollpane
xdoclet
udpclient
shopping
http-status-code-401
database-relations
blitline
mobiledoc-kit
fiware-monitoring
oracle-spatial
flock
sapscript
sony-lifelog-api
umlgraph
ssis-data-flow
template-deduction
jquery-slider
extjs2
conditionaltagsupport
git-repo
high-resolution
inappsettingskit
time.h
insert-id
alice
android-sdk-2.3
pstack
zope.interface
extconf.rb
stress
codebase
instantiationexception
zend-rest
openfaces
request-headers
strtod
data-mapping
web-application-project
dojo-dnd

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App