I was reading about development of XPCOM component. I came across these terms called whitelist data and blacklist data, I tried to find out on google but couldn't .. I do not know how its related to programming so forgive me if I placed the question at wrong place..
相关问题
- SQLite Storage in Firefox 3.0 +
- Are there any alternatives to ICRA for self-regula
- Facebook App WhiteList process
- Can Callkit block all calls except whitelisted con
- Stream canvas to imgITools to make ico
相关文章
- how to use jq to filter select items not in list?
- possible to whitelist ip for inbound communication
- How to check if server is sending out spam?
- What is XPCOM? XPCOM vs COM?
- Ideas needed. Javascript+XPCOM+C++ add-on
- How to block a specific App from accessing my webs
- How to strip specific tags and specific attributes
- Remove all characters from string which are not on
white list is a list where you can use it for further need in your application as the functionality proceeds and black list is one which you are not interested in entertaining as you further proceed forward in your application.
Bruce Schneier has an excellent explanation of black-list vs. white-list in context of computer security: https://www.schneier.com/blog/archives/2011/01/whitelisting_vs.html.
I don't know how it pertains to your XPCOM component, but in general terms:
A spam filter would be a good example - you have a whitelist of people you're willing to receive email from without checking for spam, and a blacklist of known spammers whose emails get automatically deleted. Emails from anyone not on either list might be examined using a Bayesian filter (or similar) to determine whether they look like spam or not.
White lists and black lists are two ways of filtering data. If you have a white list then you will filter in only data on the white list; if you have a black list you will filter out only data on that list.
For example, consider automatically rejecting incoming phone calls. You could have a black list of marketing companies, so everyone but them would be able to call you. Or you could have white list containing your friends' numbers, so only they would be able to call you.
TL;DR:
From Wikipedia:
Blacklist: In computing, a blacklist is a basic access control mechanism that allows everyone access, except for the members of the black list (i.e. list of denied accesses). The opposite is a whitelist, which means allow nobody, except members of the white list. As a sort of middle ground, a greylist, contains entries that are temporarily blocked or temporarily allowed. Greylist items may be reviewed or further tested for inclusion in a blacklist or whitelist.
Whitelist: A whitelist (or white list) is a list or register of entities that, for one reason or another, are being provided a particular privilege, service, mobility, access or recognition. As a verb, to whitelist can mean to authorize access or grant membership. Conversely, a blacklist is a list or compilation that identifies entities that are denied, unrecognized, or ostracized.