FAQ Database Discussion Community


Not able to navigate to certain URL in cordova

android,cordova,whitelist
I'm not able to navigate to a certain URL when I'm using the following command: window.location.href = "http://google.com"; In my cordova config.xml file I already specified to access to all sources using the default cordova setting with the wildcard: <access origin="*" subdomains="true" /> Here is what location prints to the...

Umbraco whitelist backend url for specific IP range

iis,umbraco,whitelist
I do not want people visiting my site to have access to umbraco backend. so I want to whitelist IP range through IIS who can visit backend url. I know I can use whitelist and blacklist for IP ranges but it works for the whole site and not for a...

“No Content-Security-Policy meta tag found.” error in my phonegap application

cordova,phonegap-plugins,whitelist
After update Cordova 5.0 in my system I create new applications. When I tested my application in device that time I get an error in the console log: "No Content-Security-Policy meta tag found. Please add one when using the Cordova-plugin-whitelist plugin.: 23. I add meta in the head section <meta...

JSOUP - How to get list of disallowed tags found in html?

coldfusion,jsoup,whitelist
I use JSoup to secure rich text areas against harmful code. How do I get a list of all the disallowed tag/code found in the string passed to JSoup's parse, clean or isValid functions? I use ColdFusion and can parse the text with JSoup like this: var jsoupDocument = application.jsoup.parse(...

How come a simple PHP include file be vulnerable

php,security,include,whitelist
I have a header.php and a footer.php which I include into all other pages like home, contact, about us etc. The way I included the header and the footer file is <?php include 'inc/header.php'; some code some code include 'inc/header.php'; ?> Everything simple and works fine. I decided to check...

Whitelisting Problems?

whitelist,targeting
Hi I have a huge issue that has to do with whitelisting. I have been doing C++ for about 6 months now and I can't seem to figure out how to pinpoint my targets to limit who can open and use my application with a whitelist. For example if the...

Add all whitelisted directories to an index

git,whitelist,subdirectories
A git repository contains two directories: A and B1. This is the directory structure: $ find -name "*.*" -print ./.git/hooks/applypatch-msg.sample ./.git/hooks/commit-msg.sample ./.git/hooks/post-update.sample ./.git/hooks/pre-applypatch.sample ./.git/hooks/pre-commit.sample ./.git/hooks/pre-push.sample ./.git/hooks/pre-rebase.sample ./.git/hooks/prepare-commit-msg.sample ./.git/hooks/update.sample ./A/a.txt ./A/A1/a1.txt ./B/b.txt ./B/B1/b1.txt ./C/c.txt This is the .gitignore file, it whitelists directories A and B1: $ more .gitignore #...