it-e-63 Concept of Graphics and Images

Image or Graphic? Technically, neither.[1]If you really want to be strict, computer pictures
are files, the same way WORD documents or solitaire games are files. They're all a bunch of ones
and zeros all in a row. But we do have to communicate with one another so let's decide.
Image. We'll use "image". That seems to cover a wide enough topic range.
"Graphic" is more of an adjective, as in "graphic format." we denote images on the Internet
by their graphic format. GIF is not the name of the image. GIF is the compression factors used to
create the raster format set up by CompuServe.
So, they're all images unless you're talking about something specific.
The images produced in Drawing programs (CorelDraw, Illustrator, Freehand, Designer etc)
are called vectorised graphics. [2]That is, all of the objects shown on the computer monitor are
representations of points and their relationship to each other on the work area, each of which is
stored in the computer as simple values and mathematical equations depicting: the relationship
between each point and the next point referenced to it, and the position (vector) of each point
referenced to a starting corner of the work area.
Bitmap pictures are stored as a vertical and horizontal array of Pixels and stored information
represents the colour of each of these pixels. The resolution of a bitmap picture describes how
many of these pixels exist over a set distance, usually horizontally: ie pixels per inch or pixels per
centimetre. An unaltered bitmap picture of 300 pixels / inch enlarged by 1000% will therefore
still have the same number of pixels across the actual picture area but each represented pixel will
cover a larger area.
[3]At such an enlargement, the picture would be of little use for reproduction unless viewed
from quite a long distance.
Bitmap or Photo-retouching programs are correctly called PAINTING PROGRAMS.
Vectorised drawings on the other hand can be enlarged as much as desired because, although the
above mentioned points on a drawing would be further apart, the relationship of any described line between
the points would always be the same. A single company logo file produced in a Drawing program could be
used for a business card, any brochure or poster, or plotting out to a Screen Print stencil 3 metres (9 feet)
wide, where as bitmap files would have to be created for every size used if practicable.
What is raster, vector, metafile, PDL, VRML, and so forth?
These terms are used to classify the type of data a graphics file contains.
Raster files (also called bitmapped files) contain graphics information described as pixels,
such as photographic images. Vector files contain data described as mathematical equations and

are typically used to store line art and CAD information. Metafiles are formats that may contain
either raster or vector graphics data. Page Description Languages (PDL) are used to describe the
layout of a printed page of graphics and text.
Animation formats are usually collections of raster data that is displayed in a sequence.
Multi-dimensional object formats store graphics data as a collection of objects (data and the code
that manipulates it) that may be rendered (displayed) in a variety of perspectives. Virtual Reality
Modeling Language (VRML) is a 3D, object-oriented language used for describing "virtual
worlds" networked via the Internet and hyperlinked within the World Wide Web. Multimedia file
formats are capable of storing any of the previously mentioned types of data, including sound and
video information.

1, deem  [di:m]
vt. 认为,视作;相信
vi. 认为,持某种看法;作某种评价

2, stems 
n. 茎(stem的复数);树管;阻挡物
v. 起源于(stem的三单形式);除去…的茎;给…装杆;止住
3, wiretap  ['waiə,tæp]
v.&n. 窃听或偷录,窃听情报,窃听装置
4, solitaire  ['sɔlitεə, ,sɔli'tεə]
n. 纸牌

5, denote  [di'nəut]
vt. 表示,指示

6, depict  [di'pikt]
vt. 描述;描画

7, brochure  [bro'ʃur]
n. 手册,小册子

8, plotting  ['plɔtiŋ]
n. 测绘;标图
v. [测] 绘图;密谋(plot的ing形式)

9, stencil  ['stensəl]
n. 模版,蜡纸
vt. 用蜡纸印刷;用模板印刷

10, raster  ['ræstə]

Continue reading it-e-63 Concept of Graphics and Images

it-e-62 Security Policy Design Issues

When designing a firewall system and its corresponding security policy, a number of
questions should be answered. The first question involves the company's expected level of
security. Is the company trying to restrict all access to services not deemed essential to the
business? Or does the company wish to allow all or most types of transactions, thus asking the
firewall system only to audit transactions and create an orderly request for transactions?
Restricting all access to services not deemed essential requires a more elaborate firewall system
and thus more work and expense. Allowing most types of transactions requires a simpler system
that only performs queue management operations and creates an audit trail.
A second question stems from the first decision: How much money is the company willing
to invest in a firewall system? Commercially-purchased firewall systems can be powerful,
complex, and expensive. It is possible, however, to construct a home-grown firewall system that
takes advantage of the capabilities of existing equipment, such as routers and network operating
systems. As we saw earlier, it is possible to restrict access into a system based on time of day,
day of week, and location. It is also possible to use existing software to create an audit trail of all
incoming and outgoing transactions. Depending on the detail of auditing required, additional
software can be purchased and installed that will work in concert with network operating system
software to provide any desired level of audits.
Similarly, many routers can be programmed to restrict access to certain kinds of traffic. A router
can be programmed to accept and reject requests with specific IP addresses or a range of IP addresses.
Routers can also be programmed to deny access to certain port addresses at the TCP level.
A third question relates to the company's commitment to security. If the company is serious
about restricting access to the corporate network through a link such as the Internet, will the

company be equally serious about supporting security on any and all other links into the
corporate network environment? Dial-up modem access, wireless network access, and other
telecommunication links should also be considered when making security decisions. Fax
machines, both stand alone and computer based, as well as removable disk media are two more
examples of how data may enter or leave a corporation. Any security policy must take these
entrance and exit points, as well as the Internet, into consideration.
Having a well-designed security policy in place will make the jobs of network support staff
clearer. The staff employees will know what the network users can and cannot access and where
they can and cannot go. A well-designed security policy will make enforcement more
straightforward, and it will allow the staff to react properly to specific security requests. The
policy will also make clear the goals and duties of network employees in enforcing security with
respect to requests from the outside. If there is a good security policy, the users themselves will
have a better understanding of what they can and cannot do. This understanding will hopefully
assist the network staff in conducting their jobs and will allow the company to maintain security
in an increasingly insecure world.
Perhaps because companies have well-designed security policies in place, many people who
use the Internet to purchase items online are growing comfortable with the fact that, if they
transfer credit card information during a secure session, their data is safe from hackers and other
eavesdroppers. This sense of security may change, however, because the Internet Engineering
Task Force is considering whether to allow a backdoor entry into all Internet traffic. This
backdoor entry would allow authorized persons to intercept any data traffic on the Internet. Since
this proposal appears to be a violation of privacy, why would anyone want to create such a
At the core of the argument is the fact that standard telephone systems currently allow
agencies of the U.S. government to wiretap communications. This wiretap occurs at the
telephone central office and is built into central office telephone switches.
The act that allows wiretapping (the Communications Assistance for Law Enforcement Act)
has been in existence since 1994. Now that the Internet is beginning to carry voice traffic, should
it also be possible for the U.S. government to wiretap voice transactions on the Internet? As one
critic of the proposal states, if they can tap voice, then they can tap data. Furthermore, if the
designers of the Internet create such a backdoor, it is also possible that this knowledge could fall
into the wrong hands and be used for criminal intent.
This issue is further complicated by the fact that many businesses presently encrypt all data
leaving the corporate network. Most encryption techniques used by businesses are so effective
that virtually no one, including the government, can crack them. If the network does the
encryption just before the data leaves corporate boundaries, then it would be the responsibility of
the corporate network support personnel to provide the U.S. government, if asked, with
unencrypted data. If, on the other hand, the encryption is applied at the user workstation before it
is inserted onto the corporate network, who will supply the U.S. government with the

unencrypted data? Clearly, this issue will be hotly debated for some time to come.
Despite the fact that a company may have a well-designed security policy in place, external
events are making this area more complex all the time.

1, deem  [di:m]
vt. 认为,视作;相信
vi. 认为,持某种看法;作某种评价

2, stems 
n. 茎(stem的复数);树管;阻挡物
v. 起源于(stem的三单形式);除去…的茎;给…装杆;止住
3, wiretap  ['waiə,tæp]
v.&n. 窃听或偷录,窃听情报,窃听装置

Continue reading it-e-62 Security Policy Design Issues

it-e-61 Computer Security

The techniques developed to protect single computers and network-linked computer systems
from accidental or intentional harm are called computer security. Such harm includes destruction
of computer hardware and software, physical loss of data, and the deliberate invasion of
databases by unauthorized individuals.
Data may be protected by such basic methods as locking up terminals and replicating data in
other storage facilities. Most sophisticated methods include limiting data access by requiring the
user to have an encoded card or to supply an identification number or password. Such procedures
can apply to the computer-data system as whole or may be pinpointed for particular information
banks or programs. Data are frequently ranked in computer files according to degree of
Operating systems and programs may also incorporate built-in safeguards, and data may be
encoded in various ways to prevent unauthorized persons from interpreting or even copying the
material. The encoding system most widely user in the United States is the Data Encryption
Standard (DES) designed by IBM and approved for use by the National Institute of that are then
repeated several times. Very large-scale computer systems, for example, the U.S. military's
Advanced Research Project Agency Network (ARPANET), may be broken up into smaller
subsystems for security purposes, but smaller system in government and industry are more prone to
system-wide invasions. At the level of personal computers, security possibilities are fairly minimal.
Most invasions of computer systems are for international or corporate spying or sabotage,
but computer hackers may take the penetration of protected databanks as a challenge, often with

no object in mind other than accomplishing a technological feat. Of growing concern is the
deliberate implantation in computer programs of worms or viruses that, if undetected, may
progressively destroy databases and other software. Such infected programs have appeared in the
electronic bulletin boards available to computer users. Other viruses have been incorporated into
computer software sold commercially. No real protection is available against such bugs except
the vigilance of manufacturer and user.

1, invasion  [in'veiʒən]
n. 入侵,侵略;侵袭;侵犯

2, sophisticated  [sə'fistikeitid]
adj. 复杂的;精致的;久经世故的;富有经验的
v. 使变得世故;使迷惑;篡改(sophisticate的过去分词形式)
3, pinpointed 
v. 指出正确的位置;准确地找到(pinpoint的过去分词)
4, sabotage  ['sæbətɑ:ʒ, ,sæbə'tɑ:ʒ]
vt. 妨害;对…采取破坏行动
vi. 从事破坏活动
n. 破坏;破坏活动;怠工
5, penetration  [,peni'treiʃən]
n. 渗透;突破;侵入;洞察力
6, implantation  [,implɑ:n'teiʃən, -plæn-]
n. 移植;灌输;鼓吹
7, vigilance  ['vidʒiləns]
n. 警戒,警觉;警醒症

Continue reading it-e-61 Computer Security



JDBC中:setAutoCommit(boolean autoCommit)这个方法可不是什么同步方法,如果一个connection被多个线程使用,这种方式就达不到同步的要求。因为说不定哪个线程马上又调用setAutoCommit





Continue reading 数据库同步--可别忘记了

tomcat jndi数据源--麻烦?


Continue reading tomcat jndi数据源--麻烦?

opengl 编程指南笔记





Continue reading opengl 编程指南笔记

it-e-60 Secure Networks and Policies

What is a secure network? Can an Internet be made secure?[1] Although the concept of a
secure network is appealing to most users, networks cannot be classified simply as secure or not
secure because the term is not absoluteˆeach group defines the level of access that is permitted
or denied. For example, some organizations store data that is valuable. Such organizations define
a secure network to be a system prevents outsiders from accessing the organization's computers.
Other organizations need to make information available to outsiders, but prohibit outsiders from
changing the data. Such organizations may define a secure network as one that allows arbitrary
access to data, but includes mechanisms that prevent unauthorized changes. Finally, many large
organizations need a complex definition of security that allows access to selected data or services
the organization chooses to make public, while preventing access or modification of sensitive
data and services that are kept private.
Because no absolute definition of information secure exists, the first step an organization
must take to achieve a secure system is to define the organization's security policy. The policy
does not specify how to achieve protection. Instead, it states clearly and unambiguously the items
that are to be protected.

Defining an information security policy is complex. The primary complexity arises because an
information security policy cannot be separated from the security policy for computer systems
attached to the network. In particular, defining a policy for data that traverses a network does not
guarantee that data will be secure. Information security cannot prevent unauthorized users who
have accounts on the computer from obtaining a copy of the data. The policy must hold for the data
stored on disk, data communicated over a telephone line with a dialup modem, information printed
on paper, data transported on portable media such as a floppy disk, and data communicated over a
computer network.
Defining a security policy is also complicated because each organization must decide which
aspects of protection are most important, and often must compromise between security and ease
of use. For example, an organization can consider:
Data Integrity'
Data Availability'
Data Confidentiality and Privacy.



  • a. 引起兴趣的,动人的

    Continue reading it-e-60 Secure Networks and Policies

  • hibernate工程,正向还是反向?

    我用hibernate都是反向工程即先有数据库schema再生成dao,mapping file。


    这次做的项目先用的是mongodb,自己写的pojo,dal,现在要转为使用mysql,在想这回来个正向工程吧。查了一下,正向工程要先写mapping file或是在pojo上写注解,再用xdolet或者SchemaExport反向生成。想想,哎呀算了吧,看见xml就头疼!况且已经有了数据库设计的模型,转成sql很容易。最后还是决定反向工程。



    从这四种自动生成工具来看, mapping file, java file and DDL,只要知道任何一种文件,都可以得到另外两种文件, 
    1. 只有mapping file: 
    mapping file---hbm2java----java---SchemaExport----DDL 

    Continue reading hibernate工程,正向还是反向?

    it-e-59 Internet Firewall Concept

    A packet filter is often used to protect an organization's computers and networks from
    unwanted Internet traffic. The filter is placed in the router that connects the organization to the
    rest of the Internet.
    A packet filter configured to protect an organization against traffic from the rest of the
    Internet is called an Internet firewall; the term is derived from the fireproof physical boundary
    placed between two structures to prevent fire from moving between them. Like a conventional
    firewall, an Internet firewall is designed to keep problems in the Internet from spreading to an
    organization's computers.
    Firewalls are the most important security tool used to handle network connections between
    two organizations that do not trust each other. By placing a firewall on each external network
    connection, an organization can define a secure perimeter that prevents outsiders from interfering
    with the organization's computers. In particular, by limiting access to a small set of computers, a
    firewall can prevent outsiders from probing all computers in an organization or flooding the
    organization's network with unwanted traffic.

    A firewall can lower the cost of providing security. Without a firewall to prevent access,
    outsiders can send packets to arbitrary computers in an organization. Consequently, to provide
    security, an organization must make all of its computer secure. With a firewall, however, a
    manager can restrict incoming packets to a small set of computers. In the extreme case, the set
    can contain a single computer. Although computers in the set must be secure, other computers in
    the organization do not need to be. Thus, an organization can save money because it is less
    expensive to install a firewall than to make all computer systems secure.


    1, perimeter  [pə'rimitə]
    n. 周长;周界;[眼科] 视野计

    2, interfering  [,intə'fiəriŋ]
    adj. 干涉的;多管闲事的
    v. 妨碍(interfer的ing形式)

    3, arbitrary  ['ɑ:bitrəri]
    adj. [数] 任意的;武断的;专制的

    Continue reading it-e-59 Internet Firewall Concept

    it-e-58 Network Security Report

    Any one responsible for the security of a trusted network will be concerned when connecting
    it to a distrusted network. In the case of connections to the Internet this concern may be based
    largely on anecdotal evidence gleaned from widespread media coverage of security breaches. A
    closer inspection of the facts and statistics behind some of the media coverage will, however, only
    serve to deepen that concern. For example, the US National Computer Security Agency (NCSA)
    asserts that most attacks to computer systems go undetected and unreported, citing attacks made
    against 9,000 Department of Defence computers by the US Defence Information Systems Agency

    (DISA). These attacks had an 88 percent success rate and went undetected by more than 95 percent
    of the target organizations. Only 5 percent of the 5 percent that detected an attack, a mere 22 sites,
    reacted to it.
    It is noteworthy that these sites belong to the US Department of Defence (DoD) and were
    not commercial sites, which may give security less priority than the DoD.
    NCSA also quote the FBI as reporting that in more than 80 percent of FBI investigated
    computer crimes, unauthorized access was gained through the Internet.
    Putting a value on the damage done by such attacks is difficult but a 1995 survey conducted
    by Ernst & Young, a New York based accounting firm, reported that one third of businesses
    connected to the Internet reported up to 100 000 USD in financial loss over a two year period due
    to malicious acts by computer users outside the firm. A little more than two percent of connected
    companies reported losses of more than 1M USD.
    There is amazement in the computer security industry at the level of ignorance to the
    problem. To understand the risks often involves a steep learning curve and they have few real
    parallels in everyday life, for example nobody worries that a burglar will be able to trick their
    front door into opening by posting cryptic messages through the letterbox. When there is a good
    "hacker" story to report the press goes into frenzy, but the general level of awareness is still
    surprisingly low. For example, the Sunday Times which prides itself on providing accurate
    coverage of IT issues published an article recently that claimed that most businesses worry too
    much about Internet security. The article goes on to explain that encryption is all that is needed to
    be completely secure. The article focuses purely on privacy of communication and completely
    misses the possibility of an attack originating from the Internet.


    1, anecdotal  [,ænik'dəutəl]
    adj. 轶事的;轶事一样的;多轶事的

    2, glean  [ɡli:n]
    vt. 收集(资料);拾(落穗)
    vi. 收集;拾落穗
    3, breach  [bri:tʃ]
    n. 违背,违反;缺口
    vt. 违反,破坏;打破
    4, citing 
    vbl. 引用,引证,举例
    5, burglar  ['bə:ɡlə]
    n. 夜贼,窃贼
    6, cryptic  ['kriptik]
    a. 秘密的(使用密码的,意义深远的)

    Continue reading it-e-58 Network Security Report


    Total views.

    © 2013 - 2020. All rights reserved.

    Powered by Hydejack v6.6.1