Document:

<PAGE>

                                                                    Exhibit 10.4

                           NON-COMPETITION AGREEMENT
                                 NAVISITE, INC.

     IN CONSIDERATION OF the grant to the undersigned employee or consultant of
an option for the purchase of 175,000 shares of Common Stock, $0.01 par value
per share, of NaviSite, Inc. (the "Company", which term as used herein shall in
all instances be deemed to include all corporations or other legal entities
controlled, directly or indirectly, by the Company), and other good and valuable
consideration, the undersigned employee or consultant hereby agrees as follows:

1. NON-COMPETITION AGREEMENT.  I agree that during my employment or consulting
relationship with the Company and for twelve (12) months thereafter, I will not,
directly or indirectly,:

     (a)  Engage in any business or enterprise (whether as an owner, member,
          manager, partner, officer, employee, director, investor, lender,
          consultant, independent contractor or otherwise, except as the holder
          of not more than 1% percent of the combined voting power of the
          outstanding stock of a publicly held company) that is competitive with
          the Company's business, including, but not limited to, any business or
          enterprise that develops, designs, produces, markets, sells or renders
          any product or service competitive with any product or service
          developed, designed, produced, marketed, sold or rendered by the
          Company or any of its subsidiaries while I was employed by or provided
          consulting services to the Company; or

     (b)  Either alone or in association with others, solicit, divert, or take
          away or attempt to divert or to take away, the business or patronage
          of any of the clients, customers or accounts, or prospective clients,
          customers or accounts, of the Company which were contacted, solicited
          or served by me while I was employed by or provided consulting
          services to the Company;

     (c)  Either alone or in association with others (i) solicit, or permit any
          organizations directly or indirectly controlled by me to solicit, any
          employee of the Company to leave the employ of the Company, (ii)
          solicit for employment, hire or engage as an independent contractor,
          or permit any organization directly or indirectly controlled by me to
          solicit from employment, hire or engage as an independent contractor,
          any person who is/was employed by the Company at any time during the
          term of my employment or consulting relationship with the Company;
          provided, that this clause (ii) shall not apply to the solicitation,
          hiring or engagement of any individual whose employment with the
          Company has been terminated for a period of six months or longer.

                                       1
<PAGE>

     (d)  The geographic scope of this Section shall extend to anywhere the
          Company is doing business, has done business or intends to do
          business.

     (e)  If I violate the provisions of this Section, I shall continue to be
          bound by the restrictions set forth in this Section until a period of
          one year has expired without any violation of such provisions.

     (f)  Subsequent to the last day of my employment by the Company I may
          request permission to work for or with an entity covered by this
          Agreement by delivering a written request to the Company at its then
          current headquarters address via certified mail or a nationally
          recognized overnight delivery service that provides proof of delivery,
          to the attention of the Chief Executive Officer with copies of such
          written request being concurrently delivered to the Vice President of
          Human Resources and the General Counsel of the Company. I understand
          that each such written request must specify the name of the entity
          that has offered a position to me, a brief description of the business
          of that entity, the title of my prospective position and a brief
          description of my roles and responsibilities in such position. If,
          within five business days after receipt by the above persons at the
          Company of such a written request by me (in the manner described
          above), the Company does not: (i) respond to my request, or (ii) grant
          my request, the Company will then begin to pay to me, effective from
          and after the earlier of either: (a) the denial of my request by the
          Company, or (b) the fifteenth (15th) day after my written request was
          received by Company, my base compensation then in effect, with the
          same frequency with which I was being paid during the last month of my
          employment by the Company (the "Continuation Payments"), subject to
          the following limitations: (i) the Continuation Payments will cease
          upon the earlier to occur of (a) the day I start working for an entity
          not covered by this Agreement, (b) twelve months after the last day of
          my employment by the Company, (c) my violation of any of the terms and
          conditions of my Non-Disclosure and Developments Agreement or this
          Agreement, (e) NaviSite grants a subsequent written request I make to
          the Company to permit me to work for an entity covered by this
          Agreement or (f) the Company voluntarily waives my compliance with the
          provisions of paragraphs 1.(a)-1.(e) of this Agreement.

     (g)  In the event my employment by NaviSite is terminated for Cause, as
          defined below, the provisions of paragraph 1.(f) shall be null and
          void, shall not apply and shall have no force and effect. "Cause"
          means my willful and intentional engaging in conduct that is
          demonstrably and materially injurious to the Company, my willful and
          intentional breach of my fiduciary obligations as an officer of the
          Company, my willful and intentional refusal to perform my legal duties
          with the Company after instruction by the Chief Executive Officer or
          the Board of Directors to do so or my conviction of, or the entry of a
          pleading of guilty or nolo contender to any crime involving moral
          turpitude or any felony.

                                       2
<PAGE>

3. OTHER AGREEMENTS.

     (a)  I hereby represent that, except as I have previously disclosed in
          writing to the Company, I am not bound by the terms of any agreement
          with any previous employer or other party to refrain from using or
          disclosing any trade secret or confidential or proprietary information
          in the course of my employment or consulting relationship with the
          Company or to refrain from competing, directly or indirectly, with the
          business of such previous employer or any other party. I further
          represent that my performance of all the terms of this Agreement and
          as an employee or consultant of the Company does not and will not
          breach any agreement to keep in confidence proprietary information,
          knowledge or data acquired by me in confidence or in trust prior my
          employment or consulting relationship with the Company, and I will not
          disclose to the Company or induce the Company to use any confidential
          or proprietary information or material belonging to any previous
          employer or others.

     (b)  I agree to notify any prospective employer of the existence of this
          agreement and to furnish a copy hereof (and the Company may also
          furnish a copy thereof) to such employer. I acknowledge that I have
          read and signed the Non-Disclosure and Developments Agreement provided
          to me by the Company and delivered an executed copy to the Company.

4. NOT AN EMPLOYMENT CONTRACT.

     I acknowledge and agree that this Agreement does not constitute a contract
of employment and does not imply or otherwise constitute an agreement that the
Company will continue my employment or consulting relationship for any period of
time.  Nothing in this agreement alters the "at-will" nature of my employment
with the Company.

5. GENERAL PROVISIONS.

     (a)  NO CONFLICT. I represent that my execution and performance of this
          Agreement does not and will not conflict with or breach the terms of
          any other agreement by which I am bound.

     (b)  ENTIRE AGREEMENT. This Agreement supersedes all prior agreements,
          written or oral, between me and the Company relating to the subject
          matter of this Agreement, provided that nothing herein shall limit my
          obligations under any non-disclosure and

                                       3
<PAGE>

          developments agreement which I may enter with the Company. This
          Agreement may not be modified, changed or discharged in whole or in
          part, except by an agreement in writing signed by me and the Company.
          I agree that any change or changes in my duties, salary or
          compensation after the signing of this Agreement shall not affect the
          validity or scope of this Agreement.

     (c)  INTERPRETATION. If any restriction set forth in Section 2 is found by
          any court of competent jurisdiction to be unenforceable because it
          extends for too long a period of time or over too great a range of
          activities or over too broad a geographic area, it shall be
          interpreted to extend only over the maximum period of time, range of
          activities or geographic area as to which it may be enforceable.

     (d)  SEVERABILITY. The invalidity or unenforceability of any provision of
          this Agreement shall not affect or impair the validity or
          enforceability of any other provision of this Agreement.

     (e)  WAIVER. No delay or omission by the Company in exercising any right
          under this Agreement shall operate as a waiver of that or any other
          right. A waiver or consent given by the Company on any one occasion is
          effective only in that instance and shall not be construed as a bar
          to, or waiver of any, right on any other occasion.

     (f)  ACKNOWLEDGMENT AND EQUITABLE REMEDIES. I acknowledge that the
          restrictions contained in this Agreement are necessary for the
          protection of the business and goodwill of the Company and consider
          the restrictions to be reasonable for such purpose. I agree that any
          breach of this Agreement is likely to cause the Company substantial
          and irrevocable damage and that a breach of Section 2 would entail
          inevitable wrongful use or disclosure of the Company's proprietary and
          confidential information, and therefore, in the event of any breach of
          this Agreement, I agree that the Company, in addition to such other
          remedies which may be available, shall be entitled to specific
          performance and other injunctive relief without posting a bond.

     (g)  SUCCESSORS AND ASSIGNS. This Agreement shall be binding upon and inure
          to the benefit of both parties and their respective successors and
          assigns, including any corporation or entity with which or into which
          the Company may be merged or otherwise combined or which may succeed
          to its assets or business, provided however that the obligations of
          the employee or contractor are personal and shall not be assigned by
          the employee or contractor.

     (h)  GOVERNING LAW, FORUM AND JURISDICTION. This Agreement shall be
          governed by and construed as a sealed instrument under and in
          accordance with the laws of the Commonwealth of Massachusetts, without
          regard to conflicts of law provisions.

                                       4
<PAGE>

     (i)  CAPTIONS. The captions of the sections of this Agreement are for
          convenience of reference only and in no way define, limit or affect
          the scope or substance of any section of this Agreement.

     I ACKNOWLEDGE THAT I HAVE CAREFULLY READ THIS AGREEMENT AND UNDERSTAND AND
AGREE TO ALL OF THE PROVISIONS IN THIS AGREEMENT.

     WITNESS our hands and seals:

                                      NAVISITE, INC.

Date: January 18, 2001                By: /s/ Leslie Detellis
      ----------------                    ------------------------------
                                              Leslie Detellis
                                          ------------------------------
                                          Please print name and title

Date: January 18, 2001                    /s/ John B. Muleta
      ----------------                    ------------------------------
                                          Employee signature

                                       5<PAGE>

                                                                    EXHIBIT 10.5

                  SECURITY AGREEMENT AND ASSIGNMENT OF ACCOUNT
                  --------------------------------------------

                                                         Date:  January 30, 2001

TO:  FLEET NATIONAL BANK (the "Bank"), a national banking association having its
Head Office at 100 Federal Street, Boston, Massachusetts 02110:

     1.   ASSIGNMENT OF ACCOUNT.  FOR VALUE RECEIVED, and in consideration of
the Bank giving, in its discretion, time, credit or banking facilities or
accommodations to NaviSite Inc. (the "Company" or the "Borrower"), the
undersigned (jointly and severally if more than one) hereby pledges, assigns and
transfers all of its right, title and interest in and to, and grants to the Bank
a security interest in all mutual funds, cash, instruments, securities and other
investment property now or hereafter as maintained or held in that certain Loan
Collateral Account # OFFK 522 137343 - LC (collectively, "Collateral") in an
aggregate amount of not less than $4,400,000.00 or such greater amount which
constitutes all Obligations to the Bank, together with all interest, dividends
and income thereon and all sums now or at any time hereafter on deposit therein
or due thereon and any instruments, investments, securities or other investment
property purchased with the proceeds thereof, and any and all proceeds and
products of any of the foregoing (collectively, the "Account"), as collateral
security for the payment and performance of the following (collectively, the
"Obligations"): the obligations of the Borrower and the undersigned to the Bank
or any of its branches and affiliates of every kind and description, whether
direct or indirect, absolute or contingent, primary or secondary, joint or
several, due or to become due, now existing or hereafter arising or acquired
arising from a standby letter of credit number 1S50103386 in an aggregate amount
of not less than $4,400,000.00 (together with all agreements and instruments
executed in connection with any of the foregoing, and as the same may from time
to time be modified, amended, extended or replaced, the "Loan Documents").  The
Bank hereby agrees that if at any time, any of the Obligations have matured and
are indefeasibly repaid in full, the Bank shall immediately reduce the amount
required to be held in the Account by the amount of such repayment.  In
addition, the Bank hereby agrees that if at any time, any of the obligations are
permanently reduced (but not reduced to zero), the Bank shall reduce the amount
required to be held by the Bank in the Account by the amount of such permanent
reduction.

     2.   REPRESENTATIONS, WARRANTIES AND COVENANTS.
          -----------------------------------------

     2.1  The undersigned represents and warrants that (a) the undersigned has
the right and legal authority to execute and deliver this Assignment; (b) except
for any financing statement which may have been filed by the Bank, no financing
statement covering the Account has been filed with any filing office; (c) no
other assignment or security agreement has been executed with respect to the
Account; (d) the Account is not is subject to any liens, offsets or rights of
any person or entity other than the Bank; (e) if the undersigned is a
corporation, the opening of the Account, the deposit of funds therein and the
assignment and pledge thereof pursuant to the terms of this Assignment have been
authorized by all necessary corporate action and do not contravene any provision
of its constituent documents or any law, regulation, decree, order or agreement
binding on the undersigned; and (f) this Assignment represents the legal, valid
and binding obligation of the undersigned, enforceable in accordance with its
terms.

     2.2  So long as any of the Obligations remain outstanding, the undersigned:
(a) will execute and deliver to the Bank all such other documents, and take such
other actions, as and when the Bank may from time to time request in order to
more fully evidence and perfect the Bank's interest in the Account; (b) will not
take or permit to be taken any action of any kind with respect to the Account,
including any attempt to transfer, assign or create in favor of any party other
than the Bank a security interest in, the Account; (c) will not make, or allow
to be made, any withdrawals from the Account and will not close the Account; and
(d) will immediately segregate from all other funds of the undersigned and hold
in trust for the Bank any funds received from the Account in violation of this
Assignment, and will not exercise dominion or control over such funds except to
pay them immediately into the Account.
<PAGE>

     3.   DEFAULT; REMEDIES.  Upon the occurrence of any default in the payment
or performance of any obligation under this Assignment or any other Obligation
(after giving effect to any grace periods applicable thereto) and so long as
such default shall be continuing, the Bank may declare the Obligations
immediately due and payable and may (i) withdraw immediately all or any portion
of the funds on deposit in or payable on the Account, and apply such funds to
the payment of the Obligations in such order and manner as the Bank, in its sole
discretion, may elect; (ii) on behalf of the undersigned endorse the name of the
undersigned upon any checks, drafts, or other instruments payable to the
undersigned evidencing payment on the Account; (iii) surrender or present for
withdrawal the passbook, certificate or other documents issued to the
undersigned in connection with the Account; (iv) liquidate any Collateral on
such terms as the Bank may determine whether by private or public sale and
notify any third party, including the Securities Intermediary, to liquidate the
Collateral on behalf of the Bank and direct the proceeds thereof to the Bank for
application to payment of the Obligations in such order as the Bank may
determine.  All transaction costs relating to exercise of any of the Bank's
rights or remedies hereunder shall be borne by the undersigned and the Bank may
deduct any such costs from proceeds of the Collateral before application of such
proceeds to the Obligations.  Any such third party may rely on this Assignment
as conclusive evidence that the Bank has the power and authority to provide any
notice or direction relating to the Collateral as the Bank deems necessary in
order to exercise any rights and remedies available to the Bank relating to the
Collateral.

     4.   BANK AS ATTORNEY-IN-FACT.  The undersigned appoints the Bank as its
attorney-in-fact for the purposes of carrying out the provisions of this
Assignment and taking any action and executing any instrument that the Bank may
deem necessary or advisable to accomplish the purposes hereof.  This power of
attorney shall be irrevocable and shall not terminate upon the death or any
disability of the undersigned.

     5.   RIGHTS OF BANK; INDEMNIFICATION.
          -------------------------------

     5.1  The Bank shall not be liable for its failure to use due diligence in
the collection of the Obligations, or for any action or omission in connection
therewith, or for any loss of interest on, or penalty assessed against, funds in
or payable on the Account as a result of the Bank's exercising any of its rights
or remedies under this Assignment.  The Bank may exercise its rights with
respect to the Account and the Collateral without resorting, or regard, to other
collateral or sources of reimbursement for the Obligations.  No delay or
omission on the part of the Bank in exercising any right shall operate as a
waiver of such right or any other right.  A waiver on any one occasion shall not
bar or waive the exercise of any right on any future occasion.  All rights and
remedies of the Bank, whether evidenced hereby or by any other agreement, are
cumulative and not exclusive of any remedies provided by law or any other
agreement, and may be exercised separately or concurrently.

     5.2  The undersigned shall indemnify and hold harmless the Bank from and
against any liability or damage which the Bank may incur in the exercise and
performance, in good faith, of any of the Bank's powers and duties set forth
herein.

     6.   WAIVERS BY THE UNDERSIGNED.  The undersigned waives presentment,
demand, notice, protest, notice of acceptance of this Assignment, notice of any
<PAGE>

loans made, credit or other extensions granted, collateral received or delivered
or any other action taken in reliance hereon and all other demands and notices
of any description, except for such demands and notices as are expressly
required to be provided to the undersigned under this Assignment or any other
document evidencing the Obligations.  With respect to both the Obligations and
the Account, the undersigned assents to any extension or postponement of the
time of payment or any other forgiveness or indulgence, to any substitution,
exchange or release of any collateral securing the Obligations, to the addition
or release of any party or person primarily or secondarily liable, to the
acceptance of partial payment thereon and the settlement, compromise or
adjustment of any thereof, all in such manner and at such time or times as the
Bank may deem advisable.  The undersigned waives all rights against the Borrower
arising hereunder by way of subrogation, reimbursement, indemnification,
contribution or otherwise; the undersigned will not prove any claim in
competition with the Bank in respect of any payment hereunder in bankruptcy or
insolvency proceedings of any nature; and the undersigned will not claim any
set-off or counterclaim against the Borrower in respect of any liability of the
undersigned to the Borrower.

     7.   NOTICES.  Any demand upon or notice to the undersigned that the Bank
may give shall be effective when delivered by hand, properly deposited in the
mails postage prepaid, or sent by telex, answer back received, or electronic
facsimile transmission, receipt acknowledged, or delivered to a telegraph
company or overnight courier, in each case addressed to the undersigned at the
address shown next to its signature at the end of this Assignment or as it
appears on the books and records of the Bank.  Demands or notices addressed to
any other address at which the Bank customarily communicates with the
undersigned also shall be effective.  Any notice by the undersigned to the Bank
shall be given as aforesaid, addressed to the Bank at the address shown at the
beginning of this Assignment or such other address as the Bank may advise the
undersigned in writing.

     8.   TERMINATION; REINSTATEMENT.  This Assignment shall remain in full
force and effect until the Obligations have been repaid in full and the Bank
shall have no further obligation to extend credit to the Borrower or the
undersigned.

     9.   SUCCESSORS AND ASSIGNS.  This Assignment shall be binding upon the
undersigned, its successors and assigns, and shall inure to the benefit of and
be enforceable by the Bank and its successors and assigns.  Without limiting the
generality of the foregoing sentence, the Bank may transfer any agreement or any
note held by it evidencing, securing or otherwise executed in connection with
the Obligations, or sell participations in any interest therein, to any other
person or entity, and such other person or entity shall thereupon become vested,
to the extent set forth in the agreement evidencing such assignment, transfer or
participation, with all the rights in respect thereof granted to the Bank
herein.

     10.  GENERAL.  The provisions of this Assignment may not be amended,
modified or waived except by a writing signed by the undersigned and the Bank,
nor may the undersigned assign any of its rights hereunder. This Assignment and
the terms, covenants and conditions hereof shall be construed in accordance
with, and governed by, the laws of The Commonwealth of Massachusetts (without
giving effect to any conflicts of law provisions contained therein). In the
event that the Account is held or stands in the name of the undersigned and
another or others jointly, the Bank may deal with the same for all purposes as
if it belonged to or stood in the name of the undersigned alone. Section
headings are for convenience of reference only and are not a part of this
Assignment.
<PAGE>

     11.  JURY WAIVER.  THE BANK (BY ITS ACCEPTANCE OF THIS ASSIGNMENT) AND THE
UNDERSIGNED AGREE THAT NEITHER OF THEM NOR ANY ASSIGNEE OR SUCCESSOR SHALL (A)
SEEK A JURY TRIAL IN ANY LAWSUIT, PROCEEDING, COUNTERCLAIM, OR ANY OTHER ACTION
BASED UPON, OR ARISING OUT OF, THIS ASSIGNMENT, ANY RELATED INSTRUMENTS, ANY
COLLATERAL OR THE DEALINGS OR THE RELATIONSHIP BETWEEN OR AMONG ANY OF THEM, OR
(B) SEEK TO CONSOLIDATE ANY SUCH ACTION WITH ANY OTHER ACTION IN WHICH A JURY
TRIAL CANNOT BE OR HAS NOT BEEN WAIVED.  THE PROVISIONS OF THIS PARAGRAPH SHALL
BE SUBJECT TO NO EXCEPTIONS.  NEITHER THE BANK NOR THE UNDERSIGNED HAS AGREED
WITH OR REPRESENTED TO THE OTHER THAT THE PROVISIONS OF THIS PARAGRAPH WILL NOT
BE FULLY ENFORCED IN ALL INSTANCES.

     IN WITNESS WHEREOF, the undersigned has caused this Assignment to be duly
executed as an instrument under seal as of the date first written above.

                                    NAVISITE INC.

                                    /s/ Joel Rosen
                                    -----------------------------------
                                    By: JOEL ROSEN, AS
                                    Title: CEO AND PRESIDENT

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00021-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00021-of-00352.parquet"}]]